aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/ath10k-ct
Commit message (Expand)AuthorAgeFilesLines
* ath10k-ct: Update to latest CT 4.7 ath10k driver.Ben Greear2017-01-131-2/+2
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-4/+2
* ath10k-ct: Enable DFS when "Enable DFS support" is set for kmod-athAndy Strohman2016-12-201-0/+4
* ath10k-ct: ath10k-ct specifies that it supports 802.11ac modeAlexis Green2016-12-201-1/+1
* treewide: clean up download hashesFelix Fietkau2016-12-161-0/+1
* ath10k-ct: Update to latest CT ath10k driver.Ben Greear2016-12-161-2/+2
* ath10k-ct: Update to latest.Ben Greear2016-11-221-2/+2
* ath10k-ct: Add QCA9888/9886 support, fix compat issue.Ben Greear2016-10-271-2/+2
* ath10k-ct: Update to latest 4.7 CT ath10k driver.Ben Greear2016-10-191-2/+2
* ath10k-ct: fix missing symbols if ath9k is not selectedAlexis Green2016-09-051-1/+1
* ath10k-ct: Remove useless WARNING for 10.4 firmware.Ben Greear2016-08-281-2/+2
* ath10k-ct: Update to latest ath10k-ct driver.Ben Greear2016-08-231-2/+2
* ath10k-ct: Fix loading 9980 firmware.Ben Greear2016-08-111-2/+2
* ath10k-ct: Update to latest ath10k-ct driver.Ben Greear2016-07-231-2/+2
* add ath10k-ct: Candela-Tech ath10k out-of-tree driver.Ben Greear2016-07-141-0/+80
terpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -895,25 +895,7 @@ void netlink_detachskb(struct sock *sk,
 
 static struct sk_buff *netlink_trim(struct sk_buff *skb, gfp_t allocation)
 {
-	int delta;
-
 	skb_orphan(skb);
-
-	delta = skb->end - skb->tail;
-	if (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;
 }