]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3574052306f449119338202da33caee9b91baab6
treecfbbf4195278a69944db9af044ad51b036957f49
parentcbb2c668e5ad030579e802db42ba68a4a8766044
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