summaryrefslogtreecommitdiff
path: root/net/ipv6/ndisc.c
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2018-09-30 09:44:50 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-03 02:12:40 +0300
commitd456336d164886d9339aaa112d6595e1c142f8bc (patch)
treef6db3de628b475cbe23255a534006e2a87ecc8dc /net/ipv6/ndisc.c
parent0b26fb17cadf9df8f2e5a8feec4c2a850eabede0 (diff)
downloadlinux-d456336d164886d9339aaa112d6595e1c142f8bc.tar.xz
net: remove 1 always zero parameter from ip6_redirect_no_header()
(the parameter in question is mark) Signed-off-by: Maciej Żenczykowski <maze@google.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r--net/ipv6/ndisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index 0ec273997d1d..51863ada15a4 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -1533,7 +1533,7 @@ static void ndisc_redirect_rcv(struct sk_buff *skb)
if (!ndopts.nd_opts_rh) {
ip6_redirect_no_header(skb, dev_net(skb->dev),
- skb->dev->ifindex, 0);
+ skb->dev->ifindex);
return;
}