diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-21 08:55:42 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-22 07:57:07 -0400 |
commit | d92191aa84e5f187d543867c3d54b38f294833fa (patch) | |
tree | 1f3f76eb4fd2c70a38b0c2f17fc7ef64ee574578 /net/ipv4/tcp_input.c | |
parent | aebfa52a925d701114afd6af0def35bab16d4f47 (diff) |
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/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions