From a0525a4ed36a28260d6dee4723bd6a1eb29020be Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 3 Jan 2007 20:48:52 +0000 Subject: Verify checksums on the RX datapath. Simplify checksum generation on the TX datapath. --- src/net/icmpv6.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/icmpv6.c') diff --git a/src/net/icmpv6.c b/src/net/icmpv6.c index d1f58bd..3f2b06f 100644 --- a/src/net/icmpv6.c +++ b/src/net/icmpv6.c @@ -60,7 +60,7 @@ int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src __unuse st_dest.sin6.sin6_addr.in6_u.u6_addr8[13] = 0xff; /* Send packet over IP6 */ - return ( tcpip_tx ( pkb, &icmp6_protocol, &st_dest.st ) ); + return tcpip_tx ( pkb, &icmp6_protocol, &st_dest.st, &nsolicit->csum ); } /** @@ -124,5 +124,4 @@ struct tcpip_protocol icmp6_protocol __tcpip_protocol = { .name = "ICMP6", .rx = icmp6_rx, .tcpip_proto = IP_ICMP6, // 58 - .csum_offset = 2, }; -- cgit v1.1