diff options
| -rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index cbe4a30abd79..2f967441e1a8 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | |||
| @@ -365,7 +365,7 @@ static void qlcnic_send_filter(struct qlcnic_adapter *adapter, | |||
| 365 | head = &(adapter->fhash.fhead[hindex]); | 365 | head = &(adapter->fhash.fhead[hindex]); |
| 366 | 366 | ||
| 367 | hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { | 367 | hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { |
| 368 | if (ether_addr_equal(tmp_fil->faddr, &src_addr) && | 368 | if (ether_addr_equal(tmp_fil->faddr, (u8 *)&src_addr) && |
| 369 | tmp_fil->vlan_id == vlan_id) { | 369 | tmp_fil->vlan_id == vlan_id) { |
| 370 | if (jiffies > (QLCNIC_READD_AGE * HZ + tmp_fil->ftime)) | 370 | if (jiffies > (QLCNIC_READD_AGE * HZ + tmp_fil->ftime)) |
| 371 | qlcnic_change_filter(adapter, &src_addr, | 371 | qlcnic_change_filter(adapter, &src_addr, |
