summaryrefslogtreecommitdiff
path: root/backport/compat/compat-3.3.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-10-02 17:25:18 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-10-02 21:31:58 +0200
commitff6746638cf14d7b812ccb6bdfd4b91e6e9c5c79 (patch)
tree14e8e7918d928f8c234ae467fa50db9a53b3048a /backport/compat/compat-3.3.c
parentbb1b944b60c02ac7551bab4579f38007ba146125 (diff)
backports: genetlink: update completely
Replace all the different nested versions of generic netlink backport with a single one, covering from < 3.13 all the way to the upcoming netlink policy improvements in 4.20. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/compat/compat-3.3.c')
-rw-r--r--backport/compat/compat-3.3.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/backport/compat/compat-3.3.c b/backport/compat/compat-3.3.c
index c064f09d..1185a5d2 100644
--- a/backport/compat/compat-3.3.c
+++ b/backport/compat/compat-3.3.c
@@ -224,16 +224,3 @@ void backport_destroy_workqueue(struct workqueue_struct *wq)
spin_unlock(&wq_name_lock);
}
EXPORT_SYMBOL_GPL(backport_destroy_workqueue);
-
-void genl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group,
- struct nlmsghdr *nlh, gfp_t flags)
-{
- struct sock *sk = net->genl_sock;
- int report = 0;
-
- if (nlh)
- report = nlmsg_report(nlh);
-
- nlmsg_notify(sk, skb, pid, group, report, flags);
-}
-EXPORT_SYMBOL_GPL(genl_notify);