net: Disable NETIF_F_TSO_ECN when TSO is disabled
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 12 Apr 2011 14:47:15 +0000 (14:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2011 02:29:45 +0000 (19:29 -0700)
commit31d8b9e099e59f880aa65095951559896d4e20fa
treee6bd8f1efe81265603bf982e135522c54ed81377
parentea2d36883ca8e6caab23b6d15bfa80b1d1d81d2f
net: Disable NETIF_F_TSO_ECN when TSO is disabled

NETIF_F_TSO_ECN has no effect when TSO is disabled; this just means
that feature state will be accurately reported to user-space.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c