net: Move main gso loop out of dev_hard_start_xmit() into helper.
authorDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2014 04:19:14 +0000 (21:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 00:39:55 +0000 (17:39 -0700)
commit7f2e870f2a48a0524a3b03b04fa019311d16a7f7
tree8a0e0049081df9f280628d6c6418f3214f28271f
parent2ea255137555052655c6a646c4e48ea7481494c7
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>
net/core/dev.c