net/mlx4_en: Fix error propagation for ethtool helper function
authorHadar Hen Zion <hadarh@mellanox.com>
Mon, 4 Feb 2013 03:01:20 +0000 (03:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:26:50 +0000 (13:26 -0500)
commit377d97393d93cca146937058986050a30857eec7
tree31368627b703dd6f465f9cbddb55495cb492b156
parent56db1c5f41c2ed0300ca570fea279a7c189c18fb
net/mlx4_en: Fix error propagation for ethtool helper function

Propagate return value of mlx4_en_ethtool_add_mac_rule_by_ipv4 in case of
failure.

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