aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-3.18/653-disable_netlink_trim.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-03-25 15:29:06 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-05-03 22:41:38 +0200
commit1325e74e0c2f9ebdafe05b1492cec77a60059920 (patch)
treeaf21c4890a4ae5c08dc08ee7cabdc14a651f33ad /target/linux/generic/pending-3.18/653-disable_netlink_trim.patch
parent675832de79ec14ddc1183a66d1084aff7a856289 (diff)
downloadupstream-1325e74e0c2f9ebdafe05b1492cec77a60059920.tar.gz
upstream-1325e74e0c2f9ebdafe05b1492cec77a60059920.tar.bz2
upstream-1325e74e0c2f9ebdafe05b1492cec77a60059920.zip
kernel: Remove support for kernel 3.18
No target is using kernel 3.18 anymore, remove all the generic support for kernel 3.18. The removed packages are depending on kernel 3.18 only and are not used on any recent kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/pending-3.18/653-disable_netlink_trim.patch')
-rw-r--r--target/linux/generic/pending-3.18/653-disable_netlink_trim.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/generic/pending-3.18/653-disable_netlink_trim.patch b/target/linux/generic/pending-3.18/653-disable_netlink_trim.patch
deleted file mode 100644
index ebe5da4ec0..0000000000
--- a/target/linux/generic/pending-3.18/653-disable_netlink_trim.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/net/netlink/af_netlink.c
-+++ b/net/netlink/af_netlink.c
-@@ -1154,23 +1154,7 @@ void netlink_detachskb(struct sock *sk,
-
- static struct sk_buff *netlink_trim(struct sk_buff *skb, gfp_t allocation)
- {
-- int delta;
--
- WARN_ON(skb->sk != NULL);
-- delta = skb->end - skb->tail;
-- if (is_vmalloc_addr(skb->head) || delta * 2 < skb->truesize)
-- return skb;
--
-- if (skb_shared(skb)) {
-- struct sk_buff *nskb = skb_clone(skb, allocation);
-- if (!nskb)
-- return skb;
-- consume_skb(skb);
-- skb = nskb;
-- }
--
-- if (!pskb_expand_head(skb, 0, -delta, allocation))
-- skb->truesize -= delta;
-
- return skb;
- }