git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NET]: Fix two issues wrt. SO_BINDTODEVICE.
[pandora-kernel.git]
/
net
/
atm
/
mpoa_caches.c
diff --git
a/net/atm/mpoa_caches.c
b/net/atm/mpoa_caches.c
index
697a081
..
24799e3
100644
(file)
--- 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
while (entry != NULL){
if (entry->shortcut == vcc) {
atomic_inc(&entry->use);
while (entry != NULL){
if (entry->shortcut == vcc) {
atomic_inc(&entry->use);
- read_unlock_irqrestore(&mpc->egress_lock, flags);
+ read_unlock_irqrestore(&mpc->egress_lock, flags);
return entry;
}
entry = entry->next;
return entry;
}
entry = entry->next;
@@
-388,7
+388,7
@@
static eg_cache_entry *eg_cache_get_by_src_ip(__be32 ipaddr, struct mpoa_client
while(entry != NULL){
if(entry->latest_ip_addr == ipaddr) {
atomic_inc(&entry->use);
while(entry != NULL){
if(entry->latest_ip_addr == ipaddr) {
atomic_inc(&entry->use);
- read_unlock_irq(&mpc->egress_lock);
+ read_unlock_irq(&mpc->egress_lock);
return entry;
}
entry = entry->next;
return entry;
}
entry = entry->next;