diff options
author | Eric Dumazet <edumazet@google.com> | 2012-06-11 21:23:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-13 03:51:09 +0200 |
commit | de063b7040dcd9fbc9a1847fa44f0af13e19d6de (patch) | |
tree | d828ad11df0863ae1594be4461bfdbcb5388c4a8 /net | |
parent | usbnet: don't initialize transfer buffer before submit status URB (diff) | |
download | linux-de063b7040dcd9fbc9a1847fa44f0af13e19d6de.tar.xz linux-de063b7040dcd9fbc9a1847fa44f0af13e19d6de.zip |
bonding: remove packet cloning in recv_probe()
Cloning all packets in input path have a significant cost.
Use skb_header_pointer()/skb_copy_bits() instead of pskb_may_pull() so
that recv_probe handlers (bond_3ad_lacpdu_recv / bond_arp_rcv /
rlb_arp_recv ) dont touch input skb.
bond_handle_frame() can avoid the skb_clone()/dev_kfree_skb()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jay Vosburgh <fubar@us.ibm.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Cc: Jiri Bohac <jbohac@suse.cz>
Cc: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
Cc: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions