]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e77cb281c6a61ce1c03a7c2883239a9f2575307
tree8a0e0049081df9f280628d6c6418f3214f28271f
parent17f3811fde81d61e619fcf66716cb3ce330fa2bc
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