mirror of
https://github.com/torvalds/linux.git
synced 2026-09-15 15:01:08 -04:00
[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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user