diff options
author | Eric Dumazet <edumazet@google.com> | 2019-06-06 14:32:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-09 13:07:14 -0700 |
commit | 65a3c497c0e965a552008db8bc2653f62bc925a1 (patch) | |
tree | b3123d60841736cf01855d36332b3f0410a3129b /drivers/net/phy/ax88796b.c | |
parent | net: ipv4: fib_semantics: fix uninitialized variable (diff) | |
download | linux-dev-65a3c497c0e965a552008db8bc2653f62bc925a1.tar.xz linux-dev-65a3c497c0e965a552008db8bc2653f62bc925a1.zip |
ipv6: flowlabel: fl6_sock_lookup() must use atomic_inc_not_zero
Before taking a refcount, make sure the object is not already
scheduled for deletion.
Same fix is needed in ipv6_flowlabel_opt()
Fixes: 18367681a10b ("ipv6 flowlabel: Convert np->ipv6_fl_list to RCU.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/ax88796b.c')
0 files changed, 0 insertions, 0 deletions