[ipv6] Verify destination address in ICMP6 and ensure I/O buffer is freed
authorMatthew Iselin <matthew@theiselins.net>
Tue, 19 Jul 2011 12:38:19 +0000 (22:38 +1000)
committerMarty Connor <mdc@etherboot.org>
Sun, 7 Aug 2011 14:43:25 +0000 (10:43 -0400)
commite9b6f19b5fa65a3724dd6b28af7aaf03297a9703
treef6adad38bfd810e27a9be5413c91e4b3f6279c0e
parent27e54098b8ec0c1ac6f324943e32db4c7274ee71
[ipv6] Verify destination address in ICMP6 and ensure I/O buffer is freed

Previously gPXE would happily respond to any ICMP6 echo packet sent on
the network, regardless of whether that packet was addressed to it or
not. This will stop that from happening.

Also, the previous handling would not free the passed I/O buffer; this
has been fixed in this commit.

Signed-off-by: Matthew Iselin <matthew@theiselins.net>
Signed-off-by: Marty Connor <mdc@etherboot.org>
src/net/icmpv6.c