summaryrefslogtreecommitdiff
path: root/net/netlink
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2017-05-30 23:50:36 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-31 14:48:24 -0400
commitc2e8471d98f072f0f18acdd7df5b401ed0d29a2c (patch)
tree85255531c646af1ed823f1665a7fc091484ca100 /net/netlink
parente8f4ae85439f34bec3b0ab69223a41809dab28c9 (diff)
mpls: fix clearing of dead nh_flags on link up
recent fixes to use WRITE_ONCE for nh_flags on link up, accidently ended up leaving the deadflags on a nh. This patch fixes the WRITE_ONCE to use freshly evaluated nh_flags. Fixes: 39eb8cd17588 ("net: mpls: rt_nhn_alive and nh_flags should be accessed using READ_ONCE") Reported-by: Satish Ashok <sashok@cumulusnetworks.com> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions