Eric Dumazet
ed79bab847
virtio_net: use dev_kfree_skb_any() in free_old_xmit_skbs()
Because netpoll can call netdevice start_xmit() method with
irqs disabled, drivers should not call kfree_skb() from
their start_xmit(), but use dev_kfree_skb_any() instead.
Oct 8 11:16:52 172.30.1.31 [113074.791813] ------------[ cut here ]------------
Oct 8 11:16:52 172.30.1.31 [113074.791813] WARNING: at net/core/skbuff.c:398 \
skb_release_head_state+0x64/0xc8()
Oct 8 11:16:52 172.30.1.31 [113074.791813] Hardware name:
Oct 8 11:16:52 172.30.1.31 [113074.791813] Modules linked in: netconsole ocfs2 jbd2 quota_tree \
ocfs2_dlmfs ocfs2_stack_o2cb ocfs2_dlm ocfs2_nodemanager ocfs2_stackglue configfs crc32c drbd cn loop \
serio_raw psmouse snd_pcm snd_timer snd soundcore snd_page_alloc virtio_net pcspkr parport_pc parport \
i2c_piix4 i2c_core button processor evdev ext3 jbd mbcache dm_mirror dm_region_hash dm_log dm_snapshot \
dm_mod ide_cd_mod cdrom ata_generic ata_piix virtio_blk libata scsi_mod piix ide_pci_generic ide_core \
virtio_pci virtio_ring virtio floppy thermal fan thermal_sys [last unloaded: netconsole]
Oct 8 11:16:52 172.30.1.31 [113074.791813] Pid: 11132, comm: php5-cgi Tainted: G W \
2.6.31.2-vserver #1
Oct 8 11:16:52 172.30.1.31 [113074.791813] Call Trace:
Oct 8 11:16:52 172.30.1.31 [113074.791813] <IRQ> [<ffffffff81253cd5>] ? \
skb_release_head_state+0x64/0xc8
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81253cd5>] ? skb_release_head_state+0x64/0xc8
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81049ae1>] ? warn_slowpath_common+0x77/0xa3
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81253cd5>] ? skb_release_head_state+0x64/0xc8
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81253a1a>] ? __kfree_skb+0x9/0x7d
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffffa01cb139>] ? free_old_xmit_skbs+0x51/0x6e \
[virtio_net]
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffffa01cbc85>] ? start_xmit+0x26/0xf2 [virtio_net]
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff8126934f>] ? netpoll_send_skb+0xd2/0x205
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffffa0429216>] ? write_msg+0x90/0xeb [netconsole]
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81049f06>] ? __call_console_drivers+0x5e/0x6f
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff8102b49d>] ? kvm_clock_read+0x4d/0x52
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff8104a082>] ? release_console_sem+0x115/0x1ba
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff8104a632>] ? vprintk+0x2f2/0x34b
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff8106b142>] ? vx_update_load+0x18/0x13e
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81308309>] ? printk+0x4e/0x5d
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff8102b49d>] ? kvm_clock_read+0x4d/0x52
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81070b62>] ? getnstimeofday+0x55/0xaf
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81062683>] ? ktime_get_ts+0x21/0x49
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff810626b7>] ? ktime_get+0xc/0x41
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81062788>] ? hrtimer_interrupt+0x9c/0x146
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81024a4b>] ? smp_apic_timer_interrupt+0x80/0x93
Oct 8 11:16:52 172.30.1.31 [113074.791813] [<ffffffff81011663>] ? apic_timer_interrupt+0x13/0x20
Oct 8 11:16:52 172.30.1.31 [113074.791813] <EOI> [<ffffffff8130a9eb>] ? _spin_unlock_irq+0xd/0x31
Reported-and-tested-by: Massimo Cetra <mcetra@navynet.it>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Bug-Entry: http://bugzilla.kernel.org/show_bug.cgi?id=14378
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-14 23:29:56 -07:00
..
2009-09-11 12:54:23 -07:00
2009-09-21 15:14:58 +02:00
2009-09-02 23:07:36 -07:00
2009-09-22 14:00:10 -07:00
2009-09-17 10:27:28 -07:00
2009-09-03 20:02:11 -07:00
2009-10-14 23:29:56 -07:00
2009-10-01 14:34:29 -07:00
2009-10-14 14:54:52 -07:00
2009-09-01 01:14:07 -07:00
2009-07-05 19:16:04 -07:00
2009-09-14 10:37:28 -07:00
2009-09-26 20:16:05 -07:00
2009-10-04 21:08:49 -07:00
2009-09-24 15:13:11 -07:00
2009-09-03 20:19:25 -07:00
2009-10-14 14:54:52 -07:00
2009-10-01 14:48:25 -07:00
2009-10-14 14:54:52 -07:00
2009-10-02 10:04:12 -07:00
2009-09-02 23:07:36 -07:00
2009-10-13 03:17:37 -07:00
2009-09-01 01:13:52 -07:00
2009-10-04 21:08:45 -07:00
2009-10-13 00:03:11 -07:00
2009-09-16 00:00:21 -07:00
2009-09-01 01:14:07 -07:00
2009-10-13 00:26:04 -07:00
2009-10-13 00:35:55 -07:00
2009-10-14 14:54:52 -07:00
2009-10-08 22:54:55 -07:00
2009-09-24 09:34:24 +09:30
2009-09-21 15:14:58 +02:00
2009-10-14 15:13:45 -07:00
2009-09-01 01:13:26 -07:00
2009-09-03 20:02:11 -07:00
2009-10-13 00:35:54 -07:00
2009-10-14 20:38:58 -07:00
2009-09-21 15:14:58 +02:00
2009-10-13 03:16:53 -07:00
2009-09-11 12:54:55 -07:00
2009-10-13 00:23:05 -07:00
2009-09-30 20:11:11 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-04 03:41:07 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-07-05 19:23:38 -07:00
2009-09-22 14:00:15 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-03-27 00:46:54 -07:00
2009-10-12 04:18:48 -07:00
2009-09-01 01:14:07 -07:00
2009-09-03 20:02:11 -07:00
2008-11-25 18:25:32 -08:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-07-05 19:16:04 -07:00
2009-09-01 01:14:07 -07:00
2009-10-07 03:50:10 -07:00
2008-10-08 16:29:57 -07:00
2009-03-24 23:32:03 -07:00
2009-09-16 20:49:47 -07:00
2009-06-15 03:02:23 -07:00
2009-09-30 20:03:15 -07:00
2009-09-17 20:07:53 +02:00
2009-09-02 01:03:33 -07:00
2008-10-08 16:29:57 -07:00
2009-08-12 17:44:53 -07:00
2009-04-04 16:51:14 -07:00
2009-09-03 20:02:11 -07:00
2009-09-02 00:32:56 -07:00
2009-08-12 23:03:00 -07:00
2009-08-12 22:53:28 -07:00
2009-04-27 03:27:43 -07:00
2009-08-12 23:02:12 -07:00
2009-08-12 23:02:59 -07:00
2009-08-12 23:02:59 -07:00
2009-08-12 23:03:01 -07:00
2009-08-12 23:02:57 -07:00
2009-09-02 01:03:33 -07:00
2009-09-21 15:14:54 +02:00
2009-08-12 23:03:01 -07:00
2009-09-03 20:02:11 -07:00
2008-09-22 19:27:10 -07:00
2009-06-09 10:22:42 -05:00
2009-10-02 11:03:28 -07:00
2009-10-02 11:03:28 -07:00
2009-08-15 18:50:44 -07:00
2009-09-21 11:32:23 -07:00
2009-09-01 01:14:07 -07:00
2009-10-13 12:02:53 -07:00
2009-07-05 19:16:04 -07:00
2009-07-05 19:16:04 -07:00
2009-07-05 19:16:04 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-09-09 18:54:49 -07:00
2009-07-06 18:54:51 -07:00
2009-09-01 01:14:07 -07:00
2009-03-11 23:26:02 -07:00
2009-09-01 01:13:40 -07:00
2009-09-02 00:32:56 -07:00
2009-02-17 17:21:08 -08:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2008-12-29 18:42:33 -08:00
2009-09-23 07:39:43 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:13:40 -07:00
2008-11-25 18:23:59 -08:00
2009-09-01 01:14:07 -07:00
2009-10-13 00:23:06 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-10-14 14:54:52 -07:00
2009-10-14 15:10:19 -07:00
2009-09-17 09:52:43 -07:00
2009-07-06 18:56:11 -07:00
2009-09-01 01:14:07 -07:00
2009-10-14 14:54:52 -07:00
2009-02-04 16:42:35 -08:00
2009-09-21 15:14:58 +02:00
2009-02-04 16:43:44 -08:00
2009-10-14 14:54:52 -07:00
2009-06-03 02:43:41 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-02-26 21:02:19 -08:00
2008-11-25 18:24:57 -08:00
2009-04-16 02:20:08 -07:00
2009-09-07 01:56:52 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-01-06 10:47:44 -08:00
2009-09-01 01:13:40 -07:00
2009-07-05 19:16:04 -07:00
2009-09-02 01:03:33 -07:00
2009-06-12 18:01:46 +02:00
2009-07-16 20:21:24 -07:00
2009-10-02 09:55:19 -07:00
2009-08-12 21:54:57 -07:00
2009-09-01 01:14:07 -07:00
2009-07-06 13:05:13 -07:00
2009-10-14 20:38:58 -07:00
2009-09-02 01:03:33 -07:00
2009-09-02 01:03:33 -07:00
2009-09-30 20:03:57 -07:00
2009-09-23 07:39:43 -07:00
2009-07-20 08:23:26 -07:00
2009-09-01 01:14:07 -07:00
2009-05-05 12:29:47 -07:00
2009-09-01 01:14:07 -07:00
2009-07-05 19:16:04 -07:00
2009-09-21 15:14:58 +02:00
2009-04-27 02:53:52 -07:00
2009-04-27 02:53:52 -07:00
2008-11-25 18:24:38 -08:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-07-05 19:16:04 -07:00
2009-06-03 02:43:41 -07:00
2009-09-21 15:14:56 +02:00
2008-10-08 16:29:57 -07:00
2009-07-05 19:16:04 -07:00
2009-04-16 02:20:16 -07:00
2009-07-23 18:01:09 -07:00
2009-09-03 20:02:13 -07:00
2009-10-14 15:13:45 -07:00
2009-09-03 20:02:11 -07:00
2009-10-01 14:34:40 -07:00
2009-09-03 20:02:11 -07:00
2009-07-05 19:16:04 -07:00
2009-09-11 12:54:49 -07:00
2009-04-16 02:20:21 -07:00
2009-07-05 19:16:04 -07:00
2008-08-29 02:13:32 -07:00
2009-09-03 20:02:11 -07:00
2008-11-28 15:55:00 -08:00
2009-05-03 14:19:23 -07:00
2009-05-01 15:21:55 -07:00
2009-01-11 00:06:36 -08:00
2009-07-08 10:30:03 -07:00
2009-05-01 15:24:18 -07:00
2009-07-05 19:16:04 -07:00
2009-09-21 15:14:58 +02:00
2009-09-01 01:14:07 -07:00
2009-07-05 19:16:04 -07:00
2009-09-23 07:39:29 -07:00
2009-06-12 18:01:45 +02:00
2009-09-01 01:14:07 -07:00
2009-10-07 03:37:43 -07:00
2009-04-27 03:20:17 -07:00
2009-04-27 02:53:49 -07:00
2009-09-03 20:02:11 -07:00
2009-09-01 01:14:07 -07:00
2009-07-16 20:21:24 -07:00
2009-07-16 09:14:23 -07:00
2009-09-01 01:13:40 -07:00
2008-08-14 04:26:38 -04:00
2009-07-16 09:14:23 -07:00
2009-08-12 16:39:16 -07:00
2009-09-30 16:12:20 -07:00
2009-01-21 15:55:15 -08:00
2009-09-02 01:03:33 -07:00
2009-09-02 01:03:33 -07:00
2008-11-10 15:11:56 -05:00
2009-09-01 01:14:07 -07:00
2008-08-07 02:11:14 -04:00
2009-09-01 01:14:07 -07:00
2009-10-13 12:01:31 -07:00
2009-09-21 15:14:54 +02:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-04-29 17:32:34 -07:00
2009-09-01 01:14:07 -07:00
2009-08-30 22:35:11 -07:00
2009-08-02 12:20:40 -07:00
2009-09-01 01:14:07 -07:00
2009-07-23 18:01:07 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-10-01 14:34:43 -07:00
2009-08-29 00:19:35 -07:00
2009-08-29 00:19:35 -07:00
2009-09-01 01:14:07 -07:00
2009-09-03 20:02:11 -07:00
2009-10-01 15:14:54 -07:00
2009-10-01 15:14:54 -07:00
2009-10-01 15:14:55 -07:00
2009-10-01 15:14:55 -07:00
2009-09-19 13:13:17 -07:00
2009-01-06 11:28:06 +01:00
2009-09-15 09:37:12 -07:00
2009-09-17 20:53:52 -07:00
2009-07-05 19:16:04 -07:00
2009-08-12 22:13:16 -07:00
2009-09-01 01:14:07 -07:00
2009-05-01 15:21:55 -07:00
2009-03-27 00:46:47 -07:00
2009-03-27 00:46:48 -07:00
2009-09-02 23:07:36 -07:00
2009-03-19 23:59:27 -07:00
2009-09-02 23:07:36 -07:00
2009-02-20 00:38:51 -08:00
2009-07-05 19:23:38 -07:00
2008-11-12 23:38:36 -08:00
2008-11-12 23:38:36 -08:00
2009-03-23 14:42:09 -07:00
2009-09-01 01:14:07 -07:00
2008-11-25 18:25:49 -08:00
2009-07-05 19:16:04 -07:00
2009-07-05 19:16:04 -07:00
2009-07-05 19:16:04 -07:00
2008-08-29 02:13:33 -07:00
2009-09-01 01:14:07 -07:00
2009-02-02 23:19:50 -08:00
2009-09-03 20:02:11 -07:00
2009-09-01 01:14:07 -07:00
2008-08-29 02:14:29 -07:00
2009-07-05 19:16:04 -07:00
2009-07-05 19:16:04 -07:00
2008-08-29 02:14:43 -07:00
2009-09-22 14:00:09 -07:00
2009-08-06 13:14:25 -07:00
2009-09-02 01:03:33 -07:00
2009-04-07 08:31:11 -07:00
2009-10-07 03:37:39 -07:00
2009-10-07 03:37:39 -07:00
2009-09-03 20:02:11 -07:00
2009-07-08 10:30:03 -07:00
2009-09-24 15:13:11 -07:00
2009-09-01 01:14:07 -07:00
2009-01-21 14:34:08 -08:00
2009-08-30 21:51:47 -07:00
2009-09-11 12:54:45 -07:00
2009-08-30 21:51:47 -07:00
2009-09-02 01:03:33 -07:00
2009-09-02 00:32:56 -07:00
2009-09-03 20:02:11 -07:00
2009-07-23 18:11:28 -07:00
2009-10-14 23:29:56 -07:00
2009-01-11 00:06:36 -08:00
2009-09-02 01:03:33 -07:00
2009-09-22 14:00:04 -07:00
2009-07-23 18:01:08 -07:00
2009-09-03 20:02:11 -07:00
2009-10-07 22:15:23 -07:00
2009-08-09 21:46:53 -07:00