]> err.no Git - linux-2.6/commit
netfilter: xt_TCPOPTSTRIP: signed tcphoff for ipv6_skip_exthdr() retval
authorRoel Kluin <12o3l@tiscali.nl>
Tue, 29 Apr 2008 10:15:10 +0000 (03:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2008 10:15:10 +0000 (03:15 -0700)
commitbe8d0d7903af85d396449b34366e7f5b0c9cc58b
tree9bc400ef8f1e4aa85934f9da0c9aa013fac6375d
parent246eb2af060fc32650f07203c02bdc0456ad76c7
netfilter: xt_TCPOPTSTRIP: signed tcphoff for ipv6_skip_exthdr() retval

if tcphoff remains unsigned, a negative ipv6_skip_exthdr() return value will
go unnoticed,

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_TCPOPTSTRIP.c