]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: orphan frags on receive
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 7 May 2012 11:32:02 +0000 (14:32 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 30 May 2012 08:48:45 +0000 (11:48 +0300)
commitf32ce57e84b8f056fd40d9026dbf943748ed7899
tree1eeb21b79d180da4e5043b648a91f18a89211ee1
parentba83a7dd50677368fd1f64ef577fc5d6367e6685
net: orphan frags on receive

zero copy packets are normally sent to the outside
network, but bridging, tun etc might loop them
back to host networking stack. If this happens
destructors will never be called, so orphan
the frags immediately on receive.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/core/dev.c