summaryrefslogtreecommitdiff
path: root/net/ipv4/ip_sockglue.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-28 01:34:21 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-29 01:02:09 (GMT)
commit35986b329f5476630cef00cc7a164ff336ec1a21 (patch)
treec9125a35a00a981b6a3daea76af8ac71042647cc /net/ipv4/ip_sockglue.c
parentb406313c733156c8eea7d9c1891476f400914367 (diff)
downloadlinux-35986b329f5476630cef00cc7a164ff336ec1a21.tar.xz
[IPV4]: ip_icmp_error() annotations
port is net-endian Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_sockglue.c')
-rw-r--r--net/ipv4/ip_sockglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_sockglue.c b/net/ipv4/ip_sockglue.c
index 0660494..4b13295 100644
--- a/net/ipv4/ip_sockglue.c
+++ b/net/ipv4/ip_sockglue.c
@@ -254,7 +254,7 @@ int ip_ra_control(struct sock *sk, unsigned char on, void (*destructor)(struct s
}
void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err,
- u16 port, u32 info, u8 *payload)
+ __be16 port, u32 info, u8 *payload)
{
struct inet_sock *inet = inet_sk(sk);
struct sock_exterr_skb *serr;