diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 01:14:38 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 01:14:38 -0500 |
commit | bcd6acd51f3d4d1ada201e9bc5c40a31d6d80c71 (patch) | |
tree | 2f6dffd2d3e4dd67355a224de7e7a960335a92fd /drivers/net/appletalk/ipddp.c | |
parent | 11c34c7deaeeebcee342cbc35e1bb2a6711b2431 (diff) | |
parent | 3ff6a468b45b5dfeb0e903e56f4eb27d34b2437c (diff) |
Merge commit 'origin/master' into next
Conflicts:
include/linux/kvm.h
Diffstat (limited to 'drivers/net/appletalk/ipddp.c')
-rw-r--r-- | drivers/net/appletalk/ipddp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c index aaf14d306a4a..eb0448b03f41 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/net/appletalk/ipddp.c | |||
@@ -230,9 +230,9 @@ static int ipddp_delete(struct ipddp_route *rt) | |||
230 | spin_lock_bh(&ipddp_route_lock); | 230 | spin_lock_bh(&ipddp_route_lock); |
231 | while((tmp = *r) != NULL) | 231 | while((tmp = *r) != NULL) |
232 | { | 232 | { |
233 | if(tmp->ip == rt->ip | 233 | if(tmp->ip == rt->ip && |
234 | && tmp->at.s_net == rt->at.s_net | 234 | tmp->at.s_net == rt->at.s_net && |
235 | && tmp->at.s_node == rt->at.s_node) | 235 | tmp->at.s_node == rt->at.s_node) |
236 | { | 236 | { |
237 | *r = tmp->next; | 237 | *r = tmp->next; |
238 | spin_unlock_bh(&ipddp_route_lock); | 238 | spin_unlock_bh(&ipddp_route_lock); |
@@ -255,9 +255,9 @@ static struct ipddp_route* __ipddp_find_route(struct ipddp_route *rt) | |||
255 | 255 | ||
256 | for(f = ipddp_route_list; f != NULL; f = f->next) | 256 | for(f = ipddp_route_list; f != NULL; f = f->next) |
257 | { | 257 | { |
258 | if(f->ip == rt->ip | 258 | if(f->ip == rt->ip && |
259 | && f->at.s_net == rt->at.s_net | 259 | f->at.s_net == rt->at.s_net && |
260 | && f->at.s_node == rt->at.s_node) | 260 | f->at.s_node == rt->at.s_node) |
261 | return (f); | 261 | return (f); |
262 | } | 262 | } |
263 | 263 | ||