diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-01-03 20:48:52 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-01-03 20:48:52 +0000 |
commit | a0525a4ed36a28260d6dee4723bd6a1eb29020be (patch) | |
tree | 720037999566f4a80c7873f173938fddf2942d5e /src/net/icmpv6.c | |
parent | 285beeff7c08b39bc1c34518043ab210b0f8b652 (diff) | |
download | ipxe-a0525a4ed36a28260d6dee4723bd6a1eb29020be.tar.gz |
Verify checksums on the RX datapath.
Simplify checksum generation on the TX datapath.
Diffstat (limited to 'src/net/icmpv6.c')
-rw-r--r-- | src/net/icmpv6.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/icmpv6.c b/src/net/icmpv6.c index d1f58bd1..3f2b06f8 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, }; |