]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bridge: Clear INET control block of SKBs passed into ip_fragment().
authorDavid S. Miller <davem@davemloft.net>
Mon, 20 Sep 2010 04:45:29 +0000 (21:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:21:19 +0000 (17:21 -0700)
commitc9d740b86fee3c2be9eaf3d7728c15c0e03f4d83
treecb67ff20ddd3a21541b7d03e5687b3fc8ccfa8d8
parentaa018b2a1b0bfb81517380aa651cf8271e4c7451
bridge: Clear INET control block of SKBs passed into ip_fragment().

[ Upstream commit 4ce6b9e1621c187a32a47a17bf6be93b1dc4a3df ]

In a similar vain to commit 17762060c25590bfddd68cc1131f28ec720f405f
("bridge: Clear IPCB before possible entry into IP stack")

Any time we call into the IP stack we have to make sure the state
there is as expected by the ipv4 code.

With help from Eric Dumazet and Herbert Xu.

Reported-by: Brandan Das <brandan.das@stratus.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/bridge/br_netfilter.c