icmp.c (95d465fd750897ab32462a6702fbfe1b122cbbc0) | icmp.c (6f912042256c12b0927438122594f5379b364f5d) |
---|---|
1/* 2 * NET3: Implementation of the ICMP protocol layer. 3 * 4 * Alan Cox, <alan@redhat.com> 5 * 6 * Version: $Id: icmp.c,v 1.85 2002/02/01 22:01:03 davem Exp $ 7 * 8 * This program is free software; you can redistribute it and/or --- 1093 unchanged lines hidden (view full) --- 1102 }, 1103}; 1104 1105void __init icmp_init(struct net_proto_family *ops) 1106{ 1107 struct inet_sock *inet; 1108 int i; 1109 | 1/* 2 * NET3: Implementation of the ICMP protocol layer. 3 * 4 * Alan Cox, <alan@redhat.com> 5 * 6 * Version: $Id: icmp.c,v 1.85 2002/02/01 22:01:03 davem Exp $ 7 * 8 * This program is free software; you can redistribute it and/or --- 1093 unchanged lines hidden (view full) --- 1102 }, 1103}; 1104 1105void __init icmp_init(struct net_proto_family *ops) 1106{ 1107 struct inet_sock *inet; 1108 int i; 1109 |
1110 for_each_cpu(i) { | 1110 for_each_possible_cpu(i) { |
1111 int err; 1112 1113 err = sock_create_kern(PF_INET, SOCK_RAW, IPPROTO_ICMP, 1114 &per_cpu(__icmp_socket, i)); 1115 1116 if (err < 0) 1117 panic("Failed to create the ICMP control socket.\n"); 1118 --- 24 unchanged lines hidden --- | 1111 int err; 1112 1113 err = sock_create_kern(PF_INET, SOCK_RAW, IPPROTO_ICMP, 1114 &per_cpu(__icmp_socket, i)); 1115 1116 if (err < 0) 1117 panic("Failed to create the ICMP control socket.\n"); 1118 --- 24 unchanged lines hidden --- |