netfilter: xt_TCPOPTSTRIP: don't use tcp_hdr()
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 10 Jun 2013 23:51:31 +0000 (01:51 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 10 Jun 2013 23:55:07 +0000 (01:55 +0200)
In (bc6bcb5 netfilter: xt_TCPOPTSTRIP: fix possible mangling beyond
packet boundary), the use of tcp_hdr was introduced. However, we
cannot assume that skb->transport_header is set for non-local packets.

Cc: Florian Westphal <fw@strlen.de>
Reported-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

No differences found