ipv6: fib6_info_destroy_rcu() cleanup
authorEric Dumazet <edumazet@google.com>
Tue, 23 Apr 2019 01:35:01 +0000 (18:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2019 00:19:48 +0000 (17:19 -0700)
commitb0270550229b3efeadfcac1cf04415dfea27915e
tree7ab580f7899eddeeb9351f3249271a2d753fba5a
parent20eb08b2b06bf1cf5e5dda2e5212db893c3e8ffe
ipv6: fib6_info_destroy_rcu() cleanup

We do not need to clear f6i->rt6i_exception_bucket right before
freeing f6i.

Note that f6i->rt6i_exception_bucket is properly protected by
f6i->exception_bucket_flushed being set to one in rt6_flush_exceptions()
under the protection of rt6_exception_lock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Wei Wang <weiwan@google.com>
Acked-by: Wei Wang <weiwan@google.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c