mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
b98e1a04e2
Once a socket has been unhashed, we want to prevent it from being
re-used in a sk_key entry as part of a routing operation.
This change marks the sk as SOCK_DEAD on unhash, which prevents addition
into the net's key list.
We need to do this during the key add path, rather than key lookup, as
we release the net keys_lock between those operations.
Fixes:
|
||
---|---|---|
.. | ||
test | ||
af_mctp.c | ||
device.c | ||
Kconfig | ||
Makefile | ||
neigh.c | ||
route.c |