OSDN Git Service

net: ll_temac: Fix DMA map size bug
authorMichal Simek <michal.simek@xilinx.com>
Tue, 12 May 2015 06:06:15 +0000 (08:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 03:17:42 +0000 (23:17 -0400)
commit44d4f8d74e1dd07f248f35d74419f07d44f326e6
tree9e24e178aebf436a2d10afc0063b3732808b7a58
parent343f845b375989f1753f605902931fa939aa2223
net: ll_temac: Fix DMA map size bug

DMA allocates skb->len instead of headlen
which is used for DMA.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c