]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ehea: Simplify type 3 transmit routine
authorAnton Blanchard <anton@samba.org>
Fri, 14 Oct 2011 05:31:07 +0000 (05:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2011 23:00:55 +0000 (19:00 -0400)
commit30e2e90b4de735769c8c9dc2397388fdf305e5ca
tree3440093b6c0d0b900e1ab101744574f3a40c4432
parent13946f5e4eefd5162733a75c03bb9f52c9c69614
ehea: Simplify type 3 transmit routine

If a nonlinear skb fits within the immediate area, use skb_copy_bits
instead of copying the frags by hand.

v3:
[cascardo] fixed conflict with use of skb frag API

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ehea/ehea_main.c