bridge: Pull ip header into skb->data before looking into ip header.
authorSarveshwar Bandi <sarveshwar.bandi@emulex.com>
Wed, 10 Oct 2012 01:15:01 +0000 (01:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2012 02:50:45 +0000 (22:50 -0400)
commit6caab7b0544e83e6c160b5e80f5a4a7dd69545c7
treea46d917a1365ab6e2e2367c48f015bee45b20b5b
parent435f08a721919a0027ff4f39f0b51c141c0e2c29
bridge: Pull ip header into skb->data before looking into ip header.

If lower layer driver leaves the ip header in the skb fragment, it needs to
be first pulled into skb->data before inspecting ip header length or ip version
number.

Signed-off-by: Sarveshwar Bandi <sarveshwar.bandi@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c