tmp_suning_uos_patched/net/can
Eric Dumazet 62b1a8ab9b net: remove skb_orphan_try()
Orphaning skb in dev_hard_start_xmit() makes bonding behavior
unfriendly for applications sending big UDP bursts : Once packets
pass the bonding device and come to real device, they might hit a full
qdisc and be dropped. Without orphaning, the sender is automatically
throttled because sk->sk_wmemalloc reaches sk->sk_sndbuf (assuming
sk_sndbuf is not too big)

We could try to defer the orphaning adding another test in
dev_hard_start_xmit(), but all this seems of little gain,
now that BQL tends to make packets more likely to be parked
in Qdisc queues instead of NIC TX ring, in cases where performance
matters.

Reverts commits :
fc6055a5ba net: Introduce skb_orphan_try()
87fd308cfc net: skb_tx_hash() fix relative to skb_orphan_try()
and removes SKBTX_DRV_NEEDS_SK_REF flag

Reported-and-bisected-by: Jean-Michel Hautbois <jhautbois@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-15 15:30:15 -07:00
..
af_can.c can: remove references to berlios mailinglist 2011-10-17 19:22:46 -04:00
af_can.h can: remove references to berlios mailinglist 2011-10-17 19:22:46 -04:00
bcm.c can: remove references to berlios mailinglist 2011-10-17 19:22:46 -04:00
gw.c can: fix sparse warning for cgw_list 2012-04-16 21:08:18 +02:00
Kconfig can-gw: add netlink based CAN routing 2011-09-16 17:37:51 -04:00
Makefile can-gw: add netlink based CAN routing 2011-09-16 17:37:51 -04:00
proc.c can: remove references to berlios mailinglist 2011-10-17 19:22:46 -04:00
raw.c net: remove skb_orphan_try() 2012-06-15 15:30:15 -07:00