]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix netdev_fix_features so that TSO_MANGLEID is only available with TSO
authorAlexander Duyck <aduyck@mirantis.com>
Mon, 2 May 2016 16:38:24 +0000 (09:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 17:32:27 +0000 (13:32 -0400)
commit0353103146eada36ea9ea90c35d1073c8d4b2f6a
tree3bac79c9ae7ede9897b691687ef9bf21791c274e
parent5531f47bb11f8c0440936c3f3c226157b5a136df
net: Fix netdev_fix_features so that TSO_MANGLEID is only available with TSO

This change makes it so that we will strip the TSO_MANGLEID bit if TSO is
not present.  This way we will also handle ECN correctly of TSO is not
present.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c