diff options
author | David S. Miller <davem@davemloft.net> | 2014-08-29 21:19:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-01 17:39:55 -0700 |
commit | 7f2e870f2a48a0524a3b03b04fa019311d16a7f7 (patch) | |
tree | 8a0e0049081df9f280628d6c6418f3214f28271f /net/packet/af_packet.c | |
parent | 2ea255137555052655c6a646c4e48ea7481494c7 (diff) | |
download | op-kernel-dev-7f2e870f2a48a0524a3b03b04fa019311d16a7f7.zip op-kernel-dev-7f2e870f2a48a0524a3b03b04fa019311d16a7f7.tar.gz |
net: Move main gso loop out of dev_hard_start_xmit() into helper.
There is a slight policy change happening here as well.
The previous code would drop the entire rest of the GSO skb if any of
them got, for example, a congestion notification.
That makes no sense, anything NET_XMIT_MASK and below is something
like congestion or policing. And in the congestion case it doesn't
even mean the packet was actually dropped.
Just continue until dev_xmit_complete() evaluates to false.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions