Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41573
b: refs/heads/master
c: 04ce690
h: refs/heads/master
i:
  41571: 8757d54
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent f249c14 commit d4ea7b4
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c689a6eae2d83970e4f34753d513e96fb97a025
refs/heads/master: 04ce69093f91547d3a7c4fc815d2868195591340
2 changes: 1 addition & 1 deletion trunk/include/net/protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct inet6_protocol
void (*err_handler)(struct sk_buff *skb,
struct inet6_skb_parm *opt,
int type, int code, int offset,
__u32 info);
__be32 info);

int (*gso_send_check)(struct sk_buff *skb);
struct sk_buff *(*gso_segment)(struct sk_buff *skb,
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/net/rawv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extern void rawv6_err(struct sock *sk,
struct sk_buff *skb,
struct inet6_skb_parm *opt,
int type, int code,
int offset, u32 info);
int offset, __be32 info);

#endif

Expand Down
3 changes: 1 addition & 2 deletions trunk/include/net/xfrm.h
Original file line number Diff line number Diff line change
Expand Up @@ -887,8 +887,7 @@ struct xfrm_tunnel {
struct xfrm6_tunnel {
int (*handler)(struct sk_buff *skb);
int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info);

int type, int code, int offset, __be32 info);
struct xfrm6_tunnel *next;
int priority;
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/ah6.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ static int ah6_input(struct xfrm_state *x, struct sk_buff *skb)
}

static void ah6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
struct ipv6hdr *iph = (struct ipv6hdr*)skb->data;
struct ip_auth_hdr *ah = (struct ip_auth_hdr*)(skb->data+offset);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/esp6.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ static u32 esp6_get_max_size(struct xfrm_state *x, int mtu)
}

static void esp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
struct ipv6hdr *iph = (struct ipv6hdr*)skb->data;
struct ipv6_esp_hdr *esph = (struct ipv6_esp_hdr*)(skb->data+offset);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/icmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb)
icmpv6_xmit_unlock();
}

static void icmpv6_notify(struct sk_buff *skb, int type, int code, u32 info)
static void icmpv6_notify(struct sk_buff *skb, int type, int code, __be32 info)
{
struct in6_addr *saddr, *daddr;
struct inet6_protocol *ipprot;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/ip6_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ parse_tlv_tnl_enc_lim(struct sk_buff *skb, __u8 * raw)

static int
ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
struct ipv6hdr *ipv6h = (struct ipv6hdr *) skb->data;
struct ip6_tnl *t;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/ipcomp6.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static int ipcomp6_output(struct xfrm_state *x, struct sk_buff *skb)
}

static void ipcomp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
__be32 spi;
struct ipv6hdr *iph = (struct ipv6hdr*)skb->data;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ static int rawv6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)

void rawv6_err(struct sock *sk, struct sk_buff *skb,
struct inet6_skb_parm *opt,
int type, int code, int offset, u32 info)
int type, int code, int offset, __be32 info)
{
struct inet_sock *inet = inet_sk(sk);
struct ipv6_pinfo *np = inet6_sk(sk);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/tcp_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ static int tcp_v6_connect(struct sock *sk, struct sockaddr *uaddr,
}

static void tcp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
struct ipv6hdr *hdr = (struct ipv6hdr*)skb->data;
const struct tcphdr *th = (struct tcphdr *)(skb->data+offset);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/tunnel6.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static int tunnel6_rcv(struct sk_buff **pskb)
}

static void tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
struct xfrm6_tunnel *handler;

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ static int udpv6_recvmsg(struct kiocb *iocb, struct sock *sk,
}

static void udpv6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
struct ipv6_pinfo *np;
struct ipv6hdr *hdr = (struct ipv6hdr*)skb->data;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/xfrm6_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ static int xfrm6_tunnel_rcv(struct sk_buff *skb)
}

static int xfrm6_tunnel_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
/* xfrm6_tunnel native err handling */
switch (type) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/sctp/ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static struct notifier_block sctp_inet6addr_notifier = {

/* ICMP error handler. */
SCTP_STATIC void sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
int type, int code, int offset, __u32 info)
int type, int code, int offset, __be32 info)
{
struct inet6_dev *idev;
struct ipv6hdr *iph = (struct ipv6hdr *)skb->data;
Expand Down

0 comments on commit d4ea7b4

Please sign in to comment.