ipv6 netevent: Remove old_neigh from netevent_redirect.
The only user is cxgb3 driver. old_neigh is used to check device change, but it must not happen on redirect. In this sense, we can remove old_neigh argument. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
a66f566afc
commit
6059283378
@ -1803,10 +1803,9 @@ static void rt6_do_redirect(struct dst_entry *dst, struct sock *sk, struct sk_bu
|
||||
goto out;
|
||||
|
||||
netevent.old = &rt->dst;
|
||||
netevent.old_neigh = old_neigh;
|
||||
netevent.new = &nrt->dst;
|
||||
netevent.new_neigh = neigh;
|
||||
netevent.daddr = &msg->dest;
|
||||
netevent.neigh = neigh;
|
||||
call_netevent_notifiers(NETEVENT_REDIRECT, &netevent);
|
||||
|
||||
if (rt->rt6i_flags & RTF_CACHE) {
|
||||
|
Reference in New Issue
Block a user