aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2013-01-14 04:28:27 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-14 15:04:59 -0500
commit605928337866c6369ae60509fa2b10af325a25eb (patch)
tree7b786dbdffded3418e38c88ffa5394c51b8aba38 /net
parenta66f566afc3a06f7588cd7a2c93125fce494162b (diff)
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>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/route.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 34f392f050c1..7c34c01b515b 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1803,10 +1803,9 @@ static void rt6_do_redirect(struct dst_entry *dst, struct sock *sk, struct sk_bu
1803 goto out; 1803 goto out;
1804 1804
1805 netevent.old = &rt->dst; 1805 netevent.old = &rt->dst;
1806 netevent.old_neigh = old_neigh;
1807 netevent.new = &nrt->dst; 1806 netevent.new = &nrt->dst;
1808 netevent.new_neigh = neigh;
1809 netevent.daddr = &msg->dest; 1807 netevent.daddr = &msg->dest;
1808 netevent.neigh = neigh;
1810 call_netevent_notifiers(NETEVENT_REDIRECT, &netevent); 1809 call_netevent_notifiers(NETEVENT_REDIRECT, &netevent);
1811 1810
1812 if (rt->rt6i_flags & RTF_CACHE) { 1811 if (rt->rt6i_flags & RTF_CACHE) {