summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/nsp32.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-12-15 20:57:25 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-20 06:50:20 +0100
commit71d9dec24dce548bf699815c976cf063ad9257e2 (patch)
treeaad41859f011a20125acb3a717b3fc3121f108a2 /drivers/scsi/nsp32.c
parentifb: use netif_receive_skb() instead of netif_rx() (diff)
downloadlinux-71d9dec24dce548bf699815c976cf063ad9257e2.tar.xz
linux-71d9dec24dce548bf699815c976cf063ad9257e2.zip
net: increase skb->users instead of skb_clone()
In dev_queue_xmit_nit(), we have to clone skbs as we need to mangle skbs, however, we don't need to clone skbs for all the packet_types. Except for the first packet_type, we increase skb->users instead of skb_clone(). Signed-off-by: Changli Gao <xiaosuo@gmail.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/nsp32.c')
0 files changed, 0 insertions, 0 deletions