Dmitry Kravkov
f5980d0992
bnx2x: fix crash during TSO tunneling
[ Upstream commit fe26566d8a ]
When TSO packet is transmitted additional BD w/o mapping is used
to describe the packed. The BD needs special handling in tx
completion.
kernel: Call Trace:
kernel: <IRQ> [<ffffffff815e19ba>] dump_stack+0x19/0x1b
kernel: [<ffffffff8105dee1>] warn_slowpath_common+0x61/0x80
kernel: [<ffffffff8105df5c>] warn_slowpath_fmt+0x5c/0x80
kernel: [<ffffffff814a8c0d>] ? find_iova+0x4d/0x90
kernel: [<ffffffff814ab0e2>] intel_unmap_page.part.36+0x142/0x160
kernel: [<ffffffff814ad0e6>] intel_unmap_page+0x26/0x30
kernel: [<ffffffffa01f55d7>] bnx2x_free_tx_pkt+0x157/0x2b0 [bnx2x]
kernel: [<ffffffffa01f8dac>] bnx2x_tx_int+0xac/0x220 [bnx2x]
kernel: [<ffffffff8101a0d9>] ? read_tsc+0x9/0x20
kernel: [<ffffffffa01f8fdb>] bnx2x_poll+0xbb/0x3c0 [bnx2x]
kernel: [<ffffffff814d041a>] net_rx_action+0x15a/0x250
kernel: [<ffffffff81067047>] __do_softirq+0xf7/0x290
kernel: [<ffffffff815f3a5c>] call_softirq+0x1c/0x30
kernel: [<ffffffff81014d25>] do_softirq+0x55/0x90
kernel: [<ffffffff810673e5>] irq_exit+0x115/0x120
kernel: [<ffffffff815f4358>] do_IRQ+0x58/0xf0
kernel: [<ffffffff815e94ad>] common_interrupt+0x6d/0x6d
kernel: <EOI> [<ffffffff810bbff7>] ? clockevents_notify+0x127/0x140
kernel: [<ffffffff814834df>] ? cpuidle_enter_state+0x4f/0xc0
kernel: [<ffffffff81483615>] cpuidle_idle_call+0xc5/0x200
kernel: [<ffffffff8101bc7e>] arch_cpu_idle+0xe/0x30
kernel: [<ffffffff810b4725>] cpu_startup_entry+0xf5/0x290
kernel: [<ffffffff815cfee1>] start_secondary+0x265/0x27b
kernel: ---[ end trace 11aa7726f18d7e80 ]---
Fixes: a848ade408 ("bnx2x: add CSUM and TSO support for encapsulation protocols")
Reported-by: Yulong Pei <ypei@redhat.com>
Cc: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-14 09:24:14 +08:00
..
2013-05-11 17:40:14 -07:00
2013-04-29 11:18:34 -07:00
2013-04-19 14:46:06 -04:00
2013-05-08 13:13:30 -07:00
2013-03-17 12:50:24 -04:00
2013-04-19 14:46:06 -04:00
2013-05-01 14:08:52 -07:00
2013-05-23 12:15:32 -07:00
2013-08-11 18:35:26 -07:00
2014-08-14 09:24:14 +08:00
2013-06-16 08:10:53 -10:00
2013-07-28 16:29:55 -07:00
2013-05-11 16:28:23 -07:00
2013-11-20 12:27:46 -08:00
2013-03-29 15:40:24 -04:00
2013-04-19 14:46:06 -04:00
2013-04-01 13:36:50 -04:00
2013-06-13 17:09:40 -07:00
2013-03-09 16:09:19 -05:00
2014-07-28 08:00:05 -07:00
2013-03-18 13:02:37 -04:00
2014-01-15 15:28:48 -08:00
2013-05-01 14:08:52 -07:00
2012-12-07 14:22:22 -05:00
2013-03-09 16:09:19 -05:00
2014-01-15 15:28:45 -08:00
2013-05-15 14:42:14 -07:00
2014-07-28 08:00:03 -07:00
2014-08-07 14:30:27 -07:00
2014-06-26 15:12:39 -04:00
2013-04-16 16:30:51 -04:00
2013-04-07 16:48:19 -04:00
2013-04-19 14:46:06 -04:00
2013-04-19 14:46:06 -04:00
2013-04-19 14:46:06 -04:00
2013-03-15 08:56:58 -04:00
2013-04-19 14:46:06 -04:00
2013-04-02 16:43:56 -04:00
2013-06-19 22:12:48 -07:00
2013-04-16 16:43:35 -04:00
2013-02-21 12:05:51 -08:00
2013-03-17 12:50:24 -04:00
2013-06-24 00:28:28 -07:00
2013-03-09 16:09:19 -05:00
2013-12-08 07:29:26 -08:00
2013-06-24 00:10:21 -07:00
2013-03-09 16:09:19 -05:00
2014-03-23 21:38:10 -07:00
2013-03-17 12:50:24 -04:00
2013-02-21 12:05:51 -08:00
2013-04-15 14:11:37 -04:00
2013-12-11 22:36:27 -08:00
2013-06-19 18:40:21 -07:00
2014-07-28 08:00:06 -07:00
2014-01-15 15:28:45 -08:00
2014-06-30 20:09:41 -07:00
2013-05-02 16:20:31 -04:00
2013-05-08 13:13:29 -07:00
2013-03-17 12:50:24 -04:00
2014-02-06 11:08:16 -08:00
2013-03-26 12:47:17 -04:00
2014-01-15 15:28:45 -08:00
2013-05-01 14:08:52 -07:00
2013-01-14 15:11:50 -05:00
2013-01-14 15:11:50 -05:00
2013-01-29 14:07:05 -05:00
2012-12-07 14:22:22 -05:00
2013-04-19 14:46:06 -04:00
2013-01-22 10:39:52 -05:00
2013-05-23 12:15:32 -07:00
2013-03-21 11:50:10 -04:00
2013-01-22 10:39:52 -05:00
2013-03-09 16:09:19 -05:00
2013-03-22 10:23:42 -04:00