ethtool: Move n-tuple capability check into set_flags
authorPeter Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Fri, 12 Feb 2010 13:48:25 +0000 (13:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 05:49:47 +0000 (21:49 -0800)
commit0d643e1fb4207711d9c148b5c6a2820550a4a154
treecc4c838eddb7d9b8e72c216a9556f9fba0153c87
parente858911804f5ecadb41afd61582a11f68d416328
ethtool: Move n-tuple capability check into set_flags

set_flags should check if the underlying device supports
n-tuple filter programming before setting the device flags
on the netdevice.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ethtool.c