summaryrefslogtreecommitdiffstats
path: root/proto/radv
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-06-25 11:35:54 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-06-25 11:35:54 +0200
commitd8b5a786d27eed72106f88f893c521e67f1bef06 (patch)
tree431762d177e74513d7b48ded0e1125d15b993146 /proto/radv
parent23fd464447c4d0f0efe7b61ca3128bbb1bc1c21c (diff)
downloadbird-d8b5a786d27eed72106f88f893c521e67f1bef06.tar
bird-d8b5a786d27eed72106f88f893c521e67f1bef06.zip
IPV6_CHECKSUM should not be used on ICMPv6 sockets.
Diffstat (limited to 'proto/radv')
-rw-r--r--proto/radv/packets.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/proto/radv/packets.c b/proto/radv/packets.c
index 8aa487b..ac59ce9 100644
--- a/proto/radv/packets.c
+++ b/proto/radv/packets.c
@@ -244,10 +244,6 @@ radv_sk_open(struct radv_iface *ifa)
sk->saddr = ifa->addr->ip;
- /* 2 is an offset of the checksum in an ICMPv6 packet */
- if (sk_set_ipv6_checksum(sk, 2) < 0)
- goto err;
-
/* We want listen just to ICMPv6 messages of type RS and RA */
if (sk_set_icmp_filter(sk, ICMPV6_RS, ICMPV6_RA) < 0)
goto err;