[ipv6] verify destination address in ICMP6 and make sure the I/O buffer is freed.
authorMatthew Iselin <matthew@theiselins.net>
Tue, 19 Jul 2011 12:38:19 +0000 (22:38 +1000)
committerMatthew Iselin <matthew@theiselins.net>
Mon, 25 Jul 2011 10:56:50 +0000 (20:56 +1000)
commit6ab19ac3519ef1c9f4f735c07451fadddd147aac
treedd9c610b07b64ea29a1ed219d63cc013c006163f
parent652df8a6ec19914ab1e184763cfacccefdcfb3ee
[ipv6] verify destination address in ICMP6 and make sure the 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.
src/net/icmpv6.c