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>
This commit is contained in:
parent
23bcf634c8
commit
3db7675506
1 changed files with 1 additions and 1 deletions
|
@ -2340,7 +2340,7 @@ netxen_config_indev_addr(struct net_device *dev, unsigned long event)
|
||||||
struct in_device *indev;
|
struct in_device *indev;
|
||||||
struct netxen_adapter *adapter = netdev_priv(dev);
|
struct netxen_adapter *adapter = netdev_priv(dev);
|
||||||
|
|
||||||
if (netxen_destip_supported(adapter))
|
if (!netxen_destip_supported(adapter))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
indev = in_dev_get(dev);
|
indev = in_dev_get(dev);
|
||||||
|
|
Loading…
Reference in a new issue