bnx2x: set gso_type
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 7 Feb 2013 03:13:22 +0000 (03:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Feb 2013 01:14:13 +0000 (20:14 -0500)
commit0aba93e2b9fb0be4f4dd1b52ef10d789edf15f74
treed7b0904cf9f44ab1fa5caaca7ba912ad0e944c9e
parentbd69ba798e21a39748d95942f6191a4f7c9611fc
bnx2x: set gso_type

In LRO mode, bnx2x set gso_size but not gso type.
This leads to crashes in macvtap.
Commit cbf1de72324a8105ddcc3d9ce9acbc613faea17e
queued for 3.9 includes a more complete fix.
This is a minimal patch to avoid the crash, for 3.8.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c