diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-09-30 15:03:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-05 09:21:54 +0200 |
commit | 0835acfe72e43b2f9bd46ec8c0d219e94c3525e0 (patch) | |
tree | fba23c6f67d2b6c42e70c02bf4b7a4bf25dbc103 /drivers/net/davinci_emac.c | |
parent | icmp: No need to call sk_write_space() (diff) | |
download | linux-0835acfe72e43b2f9bd46ec8c0d219e94c3525e0.tar.xz linux-0835acfe72e43b2f9bd46ec8c0d219e94c3525e0.zip |
pktgen: Avoid dirtying skb->users when txq is full
We can avoid two atomic ops on skb->users if packet is not going to be
sent to the device (because hardware txqueue is full)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/davinci_emac.c')
0 files changed, 0 insertions, 0 deletions