net/mlx4_en: Block insertion of ethtool steering rules while the interface is down
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 30 Jan 2013 23:07:07 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 17:48:47 +0000 (12:48 -0500)
commit280fce1e3ef85ff7f90a9d7e8c8a0d71bbf5a9a4
treef90e8fc37a4100effa770b5b302e641d4af6f95d
parent8258bd2713c3e42bc0e5664cbede0e07587c125f
net/mlx4_en: Block insertion of ethtool steering rules while the interface is down

Attaching steering rules while the interface is down is an invalid operation, block it.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c