3c59x: Fix bad offset spec in skb_frag_dma_map
authorNeil Horman <[email protected]>
Wed, 17 Sep 2014 13:04:45 +0000 (09:04 -0400)
committerDavid S. Miller <[email protected]>
Fri, 19 Sep 2014 20:28:57 +0000 (16:28 -0400)
commit8400dd029e764e30361a51a7ae35900ae0032b43
tree44259b2387e278ba6c9212176d15893357b3d0c4
parent6f2b6a3005b2c34c39f207a87667564f64f2f91a
3c59x: Fix bad offset spec in skb_frag_dma_map

Recently aded the use of skb_frag_dma_map to 3c59x, but didn't realize it
automatically included the frag_offset internally, as well as provided an option
to specify an extra offset in the parameter list.  We need to specify an offset
of 0 in the parameter list to avoid skb corruption that results in lost
connections.

Signed-off-by: Neil Horman <[email protected]>
CC: Linux Kernel list <[email protected]>
CC: "David S. Miller" <[email protected]>
CC: Meelis Roos <[email protected]>
Tested-by: Meelis Roos <[email protected]>
drivers/net/ethernet/3com/3c59x.c