diff options
Diffstat (limited to 'kernel/net/ipv6/mcast.c')
-rw-r--r-- | kernel/net/ipv6/mcast.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/net/ipv6/mcast.c b/kernel/net/ipv6/mcast.c index 5ee56d0a8..d64ee7e83 100644 --- a/kernel/net/ipv6/mcast.c +++ b/kernel/net/ipv6/mcast.c @@ -1574,9 +1574,8 @@ static struct sk_buff *mld_newpack(struct inet6_dev *idev, unsigned int mtu) return NULL; skb->priority = TC_PRIO_CONTROL; - skb->reserved_tailroom = skb_end_offset(skb) - - min(mtu, skb_end_offset(skb)); skb_reserve(skb, hlen); + skb_tailroom_reserve(skb, mtu, tlen); if (__ipv6_get_lladdr(idev, &addr_buf, IFA_F_TENTATIVE)) { /* <draft-ietf-magma-mld-source-05.txt>: |