aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-03-20 12:00:19 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-22 08:17:52 -0400
commit90d2723c6d4cb2ace50fc3b932a2bcc77710450b (patch)
tree74c7035de716e4fdfdf3e9ec44341726713dbeb0 /net/ipv4/tcp_input.c
parentd92191aa84e5f187d543867c3d54b38f294833fa (diff)
netfilter: nf_tables: do not hold reference on netdevice from preparation phase
The netfilter netdevice event handler hold the nfnl_lock mutex, this avoids races with a device going away while such device is being attached to hooks from the netlink control plane. Therefore, either control plane bails out with ENOENT or netdevice event path waits until the hook that is attached to net_device is registered. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions