]> bbs.cooldavid.org Git - net-next-2.6.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)
commit089282fb028198169a0f62f8f833ab6d06bdbb3c
treead5377fa1310bdf3e8c24694ac729eba4cdada0c
parent19449bfc10d163f0024dd5ae5808e28cda32e7b4
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