aboutsummaryrefslogtreecommitdiffstats
path: root/net/nsh/nsh.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-03-21 13:55:42 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-22 12:57:07 +0100
commitd92191aa84e5f187d543867c3d54b38f294833fa (patch)
tree1f3f76eb4fd2c70a38b0c2f17fc7ef64ee574578 /net/nsh/nsh.c
parentnetfilter: drop template ct when conntrack is skipped. (diff)
downloadlinux-rng-d92191aa84e5f187d543867c3d54b38f294833fa.tar.xz
linux-rng-d92191aa84e5f187d543867c3d54b38f294833fa.zip
netfilter: nf_tables: cache device name in flowtable object
Devices going away have to grab the nfnl_lock from the netdev event path to avoid races with control plane updates. However, netlink dumps in netfilter do not hold nfnl_lock mutex. Cache the device name into the objects to avoid an use-after-free situation for a device that is going away. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions