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:
Родитель
23bcf634c8
Коммит
3db7675506
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче