diff options
-rw-r--r-- | include/net/icmp.h | 2 | ||||
-rw-r--r-- | net/ipv4/icmp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/icmp.h b/include/net/icmp.h index 05f8ff7d9316..dc09474efcf3 100644 --- a/include/net/icmp.h +++ b/include/net/icmp.h | |||
@@ -38,7 +38,7 @@ struct dst_entry; | |||
38 | struct net_proto_family; | 38 | struct net_proto_family; |
39 | struct sk_buff; | 39 | struct sk_buff; |
40 | 40 | ||
41 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, u32 info); | 41 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); |
42 | extern int icmp_rcv(struct sk_buff *skb); | 42 | extern int icmp_rcv(struct sk_buff *skb); |
43 | extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); | 43 | extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
44 | extern void icmp_init(struct net_proto_family *ops); | 44 | extern void icmp_init(struct net_proto_family *ops); |
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 428f1c91ec45..45396c53560d 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c | |||
@@ -430,7 +430,7 @@ out_unlock: | |||
430 | * MUST reply to only the first fragment. | 430 | * MUST reply to only the first fragment. |
431 | */ | 431 | */ |
432 | 432 | ||
433 | void icmp_send(struct sk_buff *skb_in, int type, int code, u32 info) | 433 | void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) |
434 | { | 434 | { |
435 | struct iphdr *iph; | 435 | struct iphdr *iph; |
436 | int room; | 436 | int room; |