OpenCloudOS-Kernel/drivers/net/xen-netback
Annie Li 1e0b6eac6a xen/netback: only non-freed SKB is queued into tx_queue
After SKB is queued into tx_queue, it will be freed if request_gop is NULL.
However, no dequeue action is called in this situation, it is likely that
tx_queue constains freed SKB. This patch should fix this issue, and it is
based on 3.5.0-rc4+.

This issue is found through code inspection, no bug is seen with it currently.
I run netperf test for several hours, and no network regression was found.

Signed-off-by: Annie Li <annie.li@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-29 00:50:20 -07:00
..
Makefile
common.h net: xen-netback: use API provided by xenbus module to map rings 2011-10-26 10:02:56 -04:00
interface.c xen-netback: make ops structs const 2012-01-05 13:23:00 -05:00
netback.c xen/netback: only non-freed SKB is queued into tx_queue 2012-06-29 00:50:20 -07:00
xenbus.c Xen: consolidate and simplify struct xenbus_driver instantiation 2012-01-04 17:01:17 -05:00