[IPV6]: Replace sk_buff ** with sk_buff * in input handlers

With all the users of the double pointers removed from the IPv6 input path,
this patch converts all occurances of sk_buff ** to sk_buff * in IPv6 input
handlers.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Herbert Xu
2007-10-15 12:50:28 -07:00
committed by David S. Miller
parent a224be766b
commit e5bbef20e0
15 changed files with 36 additions and 56 deletions

View File

@@ -405,10 +405,9 @@ static inline int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh,
return 0;
}
int __udp6_lib_rcv(struct sk_buff **pskb, struct hlist_head udptable[],
int __udp6_lib_rcv(struct sk_buff *skb, struct hlist_head udptable[],
int proto)
{
struct sk_buff *skb = *pskb;
struct sock *sk;
struct udphdr *uh;
struct net_device *dev = skb->dev;
@@ -494,9 +493,9 @@ discard:
return 0;
}
static __inline__ int udpv6_rcv(struct sk_buff **pskb)
static __inline__ int udpv6_rcv(struct sk_buff *skb)
{
return __udp6_lib_rcv(pskb, udp_hash, IPPROTO_UDP);
return __udp6_lib_rcv(skb, udp_hash, IPPROTO_UDP);
}
/*