Rusty Russell wrote: > If we fail to transmit a packet, we assume the queue is full and put > the skb into last_xmit_skb. However, if more space frees up before we > xmit it, we loop, and the result can be transmitting the same skb twice. > > Fix is simple: set skb to NULL if we've used it in some way, and check > before sending. > > Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> > --- > drivers/net/virtio_net.c | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-)
applied 1-2 (#3 was already applied) _______________________________________________ Virtualization mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/virtualization
