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)
commitb1dc497b28ad053d1f6d5b5cb186af9564e4d7f1
tree3bac79c9ae7ede9897b691687ef9bf21791c274e
parent36c983824b6f17b93258153ff5b05c33c34e44ba
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