summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2009-10-28 12:03:38 +0100
committerDavid S. Miller2009-10-28 12:03:38 +0100
commit03f191bab77c0148e458dbbd0a37241be2a2faf9 (patch)
tree9cdee187b2e64d2535e2c1192c68fd77e925c06b /drivers/net/bonding/bond_main.c
parentsfc: Set ip_summed correctly for page buffers passed to GRO (diff)
downloadkernel-qcow2-linux-03f191bab77c0148e458dbbd0a37241be2a2faf9.tar.gz
kernel-qcow2-linux-03f191bab77c0148e458dbbd0a37241be2a2faf9.tar.xz
kernel-qcow2-linux-03f191bab77c0148e458dbbd0a37241be2a2faf9.zip
virtio-net: fix data corruption with OOM
virtio net used to unlink skbs from send queues on error, but ever since 48925e372f04f5e35fec6269127c62b2c71ab794 we do not do this. This causes guest data corruption and crashes with vhost since net core can requeue the skb or free it without it being taken off the list. This patch fixes this by queueing the skb after successful transmit. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions