1 --- a/net/netlink/af_netlink.c
2 +++ b/net/netlink/af_netlink.c
3 @@ -854,25 +854,7 @@ void netlink_detachskb(struct sock *sk,
5 static struct sk_buff *netlink_trim(struct sk_buff *skb, gfp_t allocation)
11 - delta = skb->end - skb->tail;
12 - if (delta * 2 < skb->truesize)
15 - if (skb_shared(skb)) {
16 - struct sk_buff *nskb = skb_clone(skb, allocation);
23 - if (!pskb_expand_head(skb, 0, -delta, allocation))
24 - skb->truesize -= delta;