diff options
Diffstat (limited to 'net/atm/mpoa_caches.c')
-rw-r--r-- | net/atm/mpoa_caches.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/atm/mpoa_caches.c b/net/atm/mpoa_caches.c index 697a081533b5..24799e3e78f7 100644 --- a/net/atm/mpoa_caches.c +++ b/net/atm/mpoa_caches.c | |||
@@ -369,7 +369,7 @@ static eg_cache_entry *eg_cache_get_by_vcc(struct atm_vcc *vcc, struct mpoa_clie | |||
369 | while (entry != NULL){ | 369 | while (entry != NULL){ |
370 | if (entry->shortcut == vcc) { | 370 | if (entry->shortcut == vcc) { |
371 | atomic_inc(&entry->use); | 371 | atomic_inc(&entry->use); |
372 | read_unlock_irqrestore(&mpc->egress_lock, flags); | 372 | read_unlock_irqrestore(&mpc->egress_lock, flags); |
373 | return entry; | 373 | return entry; |
374 | } | 374 | } |
375 | entry = entry->next; | 375 | entry = entry->next; |
@@ -388,7 +388,7 @@ static eg_cache_entry *eg_cache_get_by_src_ip(__be32 ipaddr, struct mpoa_client | |||
388 | while(entry != NULL){ | 388 | while(entry != NULL){ |
389 | if(entry->latest_ip_addr == ipaddr) { | 389 | if(entry->latest_ip_addr == ipaddr) { |
390 | atomic_inc(&entry->use); | 390 | atomic_inc(&entry->use); |
391 | read_unlock_irq(&mpc->egress_lock); | 391 | read_unlock_irq(&mpc->egress_lock); |
392 | return entry; | 392 | return entry; |
393 | } | 393 | } |
394 | entry = entry->next; | 394 | entry = entry->next; |