Rusty Russell
7eb2e25112
virtio: fix virtio_net xmit of freed skb bug
...
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 <rusty@rustcorp.com.au >
Signed-off-by: Jeff Garzik <jgarzik@redhat.com >
2008-05-30 22:07:20 -04:00
..
2008-05-08 10:46:55 -07:00
2008-04-30 16:26:27 -07:00
2008-05-06 11:43:44 -04:00
2008-05-20 14:52:25 -07:00
2008-05-14 22:34:16 -07:00
2008-05-07 10:15:46 +02:00
2008-05-02 16:45:10 -07:00
2008-04-29 08:18:03 -07:00
2008-05-14 19:11:15 -07:00
2008-04-28 16:27:08 -04:00
2008-05-05 15:08:38 -07:00
2008-05-02 13:52:35 -07:00
2008-04-29 08:06:23 -07:00
2008-05-01 08:04:01 -07:00
2008-04-29 08:06:27 -07:00
2008-05-01 08:28:26 -07:00
2008-05-12 16:46:50 +01:00
2008-05-14 23:06:16 +02:00
2008-05-01 11:31:38 -07:00
2008-05-13 11:52:55 -07:00
2008-05-09 08:07:58 -07:00
2008-05-14 23:30:06 -07:00
2008-04-29 08:06:25 -07:00
2008-05-02 21:50:54 +10:00
2008-05-05 16:47:13 +10:00
2008-04-29 08:06:18 -07:00
2008-05-14 19:11:15 -07:00
2008-05-14 02:56:47 -03:00
2008-04-29 08:06:25 -07:00
2008-04-30 08:29:53 -07:00
2008-05-13 08:02:23 -07:00
2008-05-13 08:02:23 -07:00
2008-05-08 19:51:40 +09:00
2008-05-30 22:07:20 -04:00
2008-04-29 08:06:19 -07:00
2008-05-14 19:11:12 -07:00
2008-04-29 08:06:22 -07:00
2008-04-30 08:29:53 -07:00
2008-05-13 09:51:54 -07:00
2008-05-01 08:04:00 -07:00
2008-05-14 19:11:14 -07:00
2008-05-03 10:57:57 -07:00
2008-05-02 15:00:44 +10:00
2008-04-29 19:40:28 +10:00
2008-05-13 08:02:26 -07:00
2008-05-07 09:23:02 +02:00
2008-05-05 00:33:58 -07:00
2008-05-13 11:24:51 -07:00
2008-05-14 19:11:12 -07:00
2008-05-14 19:11:12 -07:00
2008-04-29 03:12:17 -04:00
2008-05-14 10:00:30 -07:00
2008-05-14 19:11:14 -07:00
2008-05-02 21:50:50 +10:00
2008-04-30 08:29:53 -07:00
2008-04-29 08:06:21 -07:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00