]> err.no Git - linux-2.6/commit
[BRIDGE] netfilter: memory corruption fix
authorStephen Hemminger <shemminger@osdl.org>
Sun, 27 Aug 2006 03:28:30 +0000 (20:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Aug 2006 03:28:30 +0000 (20:28 -0700)
commit3a13813e6effcfad5910d47b15b724621b50b878
tree30aaf88578ee23b0a1c0f90e7ee1100244d62415
parent8dbc16033e35c7443cd56cb5ba308bb19cb7b469
[BRIDGE] netfilter: memory corruption fix

The bridge-netfilter code will overwrite memory if there is not
headroom in the skb to save the header.  This first showed up when
using Xen with sky2 driver that doesn't allocate the extra space.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_bridge.h
net/bridge/br_forward.c