net: bridge: check the length of skb after nf_bridge_maybe_copy_header()
authorChangli Gao <xiaosuo@gmail.com>
Sat, 25 Dec 2010 03:41:30 +0000 (03:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jan 2011 19:33:05 +0000 (11:33 -0800)
commitf88de8de5a8c8a8a73960d4432ceef2d38b7f86f
treecfbbf4195278a69944db9af044ad51b036957f49
parent38cfb907a55f3223445151b517b6e4678b8c9d66
net: bridge: check the length of skb after nf_bridge_maybe_copy_header()

Since nf_bridge_maybe_copy_header() may change the length of skb,
we should check the length of skb after it to handle the ppoe skbs.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_forward.c