summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2004-10-25 02:10:45 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-10-25 02:10:45 -0700
commit433760c6356d01c1e382fd900de0a0816c46a9fe (patch)
tree502c0c0300026a832242135c99ef69652a8c863f /include/linux
parent3feaf8a098da4fcafd953cf4e1fcf86b54947a36 (diff)
[NET]: Give skb_checksum_help() an skb_buff * again
Since skb_checksum_help has been using pskb_expand_head for a while now without any ill effects, I thought it would be a good idea to remove the double pointers from it and its callers. This is what the following patch does. The only 'rider' bit is the removal of an unnecessary BUG_ON in ip6_pkt_discard_out. The preceding assignment was only added because the following function oopsed so there is no point in doing BUG_ON. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c102cdce2ebe..79c65e9ac5a1 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -937,7 +937,7 @@ extern int weight_p;
extern unsigned long netdev_fc_xoff;
extern atomic_t netdev_dropping;
extern int netdev_set_master(struct net_device *dev, struct net_device *master);
-extern int skb_checksum_help(struct sk_buff **pskb, int inward);
+extern int skb_checksum_help(struct sk_buff *skb, int inward);
#ifdef CONFIG_SYSCTL
extern char *net_sysctl_strdup(const char *s);