summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_main.c
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit@netxen.com>2009-09-10 03:12:37 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-10 03:12:37 +0200
commit3db7675506ef7460bf6220545bfc69abb7dbceab (patch)
tree89e9c6aa2772af4ab4ed2f88be03a25b86119bba /drivers/net/netxen/netxen_nic_main.c
parentnet_sched: fix estimator lock selection for mq child qdiscs (diff)
downloadlinux-3db7675506ef7460bf6220545bfc69abb7dbceab.tar.xz
linux-3db7675506ef7460bf6220545bfc69abb7dbceab.zip
netxen: fix check for ip addr hashing support
Fix typo in checking dest ip has support before programming destip addresses. Signed-off-by: Amit Kumar Salecha <amit@netxen.com> Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r--drivers/net/netxen/netxen_nic_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 304618aa09dd..81c24a7effcf 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -2340,7 +2340,7 @@ netxen_config_indev_addr(struct net_device *dev, unsigned long event)
struct in_device *indev;
struct netxen_adapter *adapter = netdev_priv(dev);
- if (netxen_destip_supported(adapter))
+ if (!netxen_destip_supported(adapter))
return;
indev = in_dev_get(dev);