summaryrefslogtreecommitdiff
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 05:17:28 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-29 01:01:06 (GMT)
commite4883014f48f8c17c17a2526cb5cb6e17c5f94e7 (patch)
tree024030596297b68c3ee3d6a46c031c60c5fc7a44 /net/ipv4/icmp.c
parent60cad5da5791ceb0beefe9a79b570cca45791f50 (diff)
downloadlinux-fsl-qoriq-e4883014f48f8c17c17a2526cb5cb6e17c5f94e7.tar.xz
[IPV4]: icmp_send() annotation
The last argument is network-endian (it will go straight into the packet). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r--net/ipv4/icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index 428f1c9..45396c5 100644
--- a/net/ipv4/icmp.c
+++ b/net/ipv4/icmp.c
@@ -430,7 +430,7 @@ out_unlock:
* MUST reply to only the first fragment.
*/
-void icmp_send(struct sk_buff *skb_in, int type, int code, u32 info)
+void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info)
{
struct iphdr *iph;
int room;