[NETFILTER]: Replace sk_buff ** with sk_buff *
With all the users of the double pointers removed, this patch mops up by finally replacing all occurances of sk_buff ** in the netfilter API by sk_buff *. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2ca7b0ac02
commit
3db05fea51
@ -88,12 +88,12 @@ static void dnrmg_send_peer(struct sk_buff *skb)
|
||||
|
||||
|
||||
static unsigned int dnrmg_hook(unsigned int hook,
|
||||
struct sk_buff **pskb,
|
||||
struct sk_buff *skb,
|
||||
const struct net_device *in,
|
||||
const struct net_device *out,
|
||||
int (*okfn)(struct sk_buff *))
|
||||
{
|
||||
dnrmg_send_peer(*pskb);
|
||||
dnrmg_send_peer(skb);
|
||||
return NF_ACCEPT;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user