Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218463
b: refs/heads/master
c: e5edb7b
h: refs/heads/master
i:
  218461: 0b1a75f
  218459: c0bc311
  218455: a93b935
  218447: 92ff7fa
  218431: 652f701
v: v3
  • Loading branch information
amit salecha authored and David S. Miller committed Oct 27, 2010
1 parent 7b3c97d commit d499e6d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5ccd96110d5ac0f73b695ba606feb6d69472f26
refs/heads/master: e5edb7b19fd207f78adfdf4d9d5e1dd74a7eabd3
1 change: 1 addition & 0 deletions trunk/drivers/net/qlcnic/qlcnic.h
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ struct qlcnic_ipaddr {
#define QLCNIC_LOOPBACK_TEST 2

#define QLCNIC_FILTER_AGE 80
#define QLCNIC_READD_AGE 20
#define QLCNIC_LB_MAX_FILTERS 64

struct qlcnic_filter {
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/net/qlcnic/qlcnic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1860,6 +1860,11 @@ qlcnic_send_filter(struct qlcnic_adapter *adapter,
hlist_for_each_entry_safe(tmp_fil, tmp_hnode, n, head, fnode) {
if (!memcmp(tmp_fil->faddr, &src_addr, ETH_ALEN) &&
tmp_fil->vlan_id == vlan_id) {

if (jiffies >
(QLCNIC_READD_AGE * HZ + tmp_fil->ftime))
qlcnic_change_filter(adapter, src_addr, vlan_id,
tx_ring);
tmp_fil->ftime = jiffies;
return;
}
Expand Down

0 comments on commit d499e6d

Please sign in to comment.