packet: Fix sparse warnings ICMPv6.
authorJesse Gross <jesse@nicira.com>
Wed, 3 Sep 2014 00:57:21 +0000 (17:57 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 3 Sep 2014 04:47:14 +0000 (21:47 -0700)
commit8f5a096d888d4dc992e4152cfb1881b7a86511aa
tree876c1d553a1e710d01ce7467f397ce4960411c12
parent89b92e474e72b70ef237ed160d50fa74847aa402
packet: Fix sparse warnings ICMPv6.

The system defined ICMPv6 header doesn't have sparse annotation,
so this adds a definition so that endianness can be checked.

Reported-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
lib/packets.c
lib/packets.h