c22ad76cfc
[ Upstream commit 9990889be14288d4f1743e4768222d5032a79c27 ]
We may hold an extra reference on a socket if a tag allocation fails: we
optimistically allocate the sk_key, and take a ref there, but do not
drop if we end up not using the allocated key.
Ensure we're dropping the sock on this failure by doing a proper unref
rather than directly kfree()ing.
Fixes:
|
||
---|---|---|
.. | ||
test | ||
Kconfig | ||
Makefile | ||
af_mctp.c | ||
device.c | ||
neigh.c | ||
route.c |