[NETFILTER]: Fix multiple bugs in ip6t_frag.c
The first patch fixes following bugs in ip6t_frag.c, - Wrong cast the pointer to extension header. - header length of Fragment Header is statically 8 octets. Then the option --frag-len doesn't make sense. - There are endian issues where using frag->info. - Reserved fields are not 2 bit but 8bit + 2 bit. (see RFC2460) Signed-off-by: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment