From 1a691cc34733f1a14cfc2dc1cacd1d3376d771cb Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 7 Jun 2003 00:12:15 +0000 Subject: 2003-06-07 Paul Jakma * (zebra/rtadvc.): can not set checksum for ICMPV6, see: From: Jun-ichiro itojun Hagino Subject: [zebra 11052] setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket. RFC2292 may not be clear enough about it (it talks about raw socket and ICMPv6 socket mixed up), but the next revision (draft-ietf-ipngwg-rfc2292bis-02.txt) is very clear about it. > An attempt to set IPV6_CHECKSUM for an ICMPv6 socket will fail. --- zebra/rtadv.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/zebra/rtadv.c b/zebra/rtadv.c index 9dcee8ea..ab0d49f0 100644 --- a/zebra/rtadv.c +++ b/zebra/rtadv.c @@ -428,9 +428,6 @@ rtadv_make_socket (void) return -1; ret = setsockopt_ipv6_pktinfo (sock, 1); - if (ret < 0) - return ret; - ret = setsockopt_ipv6_checksum (sock, 2); if (ret < 0) return ret; ret = setsockopt_ipv6_multicast_loop (sock, 0); -- cgit v1.2.1