git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
net
/
ipv4
/
icmp.c
diff --git
a/net/ipv4/icmp.c
b/net/ipv4/icmp.c
index
26a1405
..
8a94e35
100644
(file)
--- a/
net/ipv4/icmp.c
+++ b/
net/ipv4/icmp.c
@@
-753,7
+753,7
@@
static void icmp_redirect(struct sk_buff *skb)
case ICMP_REDIR_HOST:
case ICMP_REDIR_HOSTTOS:
ip_rt_redirect(skb->nh.iph->saddr, ip, skb->h.icmph->un.gateway,
case ICMP_REDIR_HOST:
case ICMP_REDIR_HOSTTOS:
ip_rt_redirect(skb->nh.iph->saddr, ip, skb->h.icmph->un.gateway,
- iph->saddr, skb->dev);
+ iph->saddr,
iph->tos,
skb->dev);
break;
}
out:
break;
}
out:
@@
-1194,7
+1194,7
@@
void __init icmp_init(struct net_proto_family *ops)
struct inet_sock *inet;
int i;
struct inet_sock *inet;
int i;
- for_each_
possible_
cpu(i) {
+ for_each_cpu(i) {
int err;
err = sock_create_kern(PF_INET, SOCK_RAW, IPPROTO_ICMP,
int err;
err = sock_create_kern(PF_INET, SOCK_RAW, IPPROTO_ICMP,