summaryrefslogtreecommitdiffstats
path: root/net/ipv6/raw.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-07-19 09:28:58 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-19 09:28:58 +0200
commit725a8ff04a5dc473cd9d8eb7817ca96fc36c7789 (patch)
treebd632ddb3f0998217240b1e244307937020aa5bd /net/ipv6/raw.c
parenttcp: fix kernel panic with listening_get_next (diff)
downloadlinux-725a8ff04a5dc473cd9d8eb7817ca96fc36c7789.tar.xz
linux-725a8ff04a5dc473cd9d8eb7817ca96fc36c7789.zip
ipv6: remove unused parameter from ip6_ra_control
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r--net/ipv6/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c
index 34cfb3f41c2c..01d47674f7e5 100644
--- a/net/ipv6/raw.c
+++ b/net/ipv6/raw.c
@@ -1157,7 +1157,7 @@ static int rawv6_ioctl(struct sock *sk, int cmd, unsigned long arg)
static void rawv6_close(struct sock *sk, long timeout)
{
if (inet_sk(sk)->num == IPPROTO_RAW)
- ip6_ra_control(sk, -1, NULL);
+ ip6_ra_control(sk, -1);
ip6mr_sk_done(sk);
sk_common_release(sk);
}