Skip to content
Commit 7f2e870f authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 2ea25513
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment