summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-02-18 15:03:27 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-18 11:42:19 -0500
commit905f0a739ad82c6371fb0cb0e71db14a750702ad (patch)
tree598583bc99bea92b280d0487c6ce910ece519a99 /include/linux/netfilter
parent263ea09084d172cac6e40459a690babe8de8e448 (diff)
downloadlinux-stable-905f0a739ad82c6371fb0cb0e71db14a750702ad.tar.gz
linux-stable-905f0a739ad82c6371fb0cb0e71db14a750702ad.tar.bz2
linux-stable-905f0a739ad82c6371fb0cb0e71db14a750702ad.zip
nfnetlink: remove nfnetlink_alloc_skb
Following mmapped netlink removal this code can be simplified by removing the alloc wrapper. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r--include/linux/netfilter/nfnetlink.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netfilter/nfnetlink.h b/include/linux/netfilter/nfnetlink.h
index ba0d9789eb6e..1d82dd5e9a08 100644
--- a/include/linux/netfilter/nfnetlink.h
+++ b/include/linux/netfilter/nfnetlink.h
@@ -34,8 +34,6 @@ int nfnetlink_subsys_register(const struct nfnetlink_subsystem *n);
int nfnetlink_subsys_unregister(const struct nfnetlink_subsystem *n);
int nfnetlink_has_listeners(struct net *net, unsigned int group);
-struct sk_buff *nfnetlink_alloc_skb(struct net *net, unsigned int size,
- u32 dst_portid, gfp_t gfp_mask);
int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid,
unsigned int group, int echo, gfp_t flags);
int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error);