mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
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
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user