]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_socket: Make tproto signed in socket_mt6_v1().
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2010 19:59:53 +0000 (12:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2010 19:59:53 +0000 (12:59 -0700)
commit3538ba3e71b5f4318fe1e92b1932c411587a5435
treead5377fa1310bdf3e8c24694ac729eba4cdada0c
parent0a97d7f2b900ecd434daa7834d7f87083e53708d
netfilter: xt_socket: Make tproto signed in socket_mt6_v1().

Otherwise error indications from ipv6_find_hdr() won't be noticed.

This required making the protocol argument to extract_icmp6_fields()
signed too.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_socket.c