mcast.c (79e24da00b1137031245f3341828e4215b1b5b59) mcast.c (1837b2e2bcd23137766555a63867e649c0b637f0)
1/*
2 * Multicast support for IPv6
3 * Linux INET6 implementation
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * Based on linux/ipv4/igmp.c and linux/ipv4/ip_sockglue.c

--- 1560 unchanged lines hidden (view full) ---

1569 /* limit our allocations to order-0 page */
1570 size = min_t(int, size, SKB_MAX_ORDER(0, 0));
1571 skb = sock_alloc_send_skb(sk, size, 1, &err);
1572
1573 if (!skb)
1574 return NULL;
1575
1576 skb->priority = TC_PRIO_CONTROL;
1/*
2 * Multicast support for IPv6
3 * Linux INET6 implementation
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * Based on linux/ipv4/igmp.c and linux/ipv4/ip_sockglue.c

--- 1560 unchanged lines hidden (view full) ---

1569 /* limit our allocations to order-0 page */
1570 size = min_t(int, size, SKB_MAX_ORDER(0, 0));
1571 skb = sock_alloc_send_skb(sk, size, 1, &err);
1572
1573 if (!skb)
1574 return NULL;
1575
1576 skb->priority = TC_PRIO_CONTROL;
1577 skb->reserved_tailroom = skb_end_offset(skb) -
1578 min(mtu, skb_end_offset(skb));
1579 skb_reserve(skb, hlen);
1577 skb_reserve(skb, hlen);
1578 skb_tailroom_reserve(skb, mtu, tlen);
1580
1581 if (__ipv6_get_lladdr(idev, &addr_buf, IFA_F_TENTATIVE)) {
1582 /* <draft-ietf-magma-mld-source-05.txt>:
1583 * use unspecified address as the source address
1584 * when a valid link-local address is not available.
1585 */
1586 saddr = &in6addr_any;
1587 } else

--- 1363 unchanged lines hidden ---
1579
1580 if (__ipv6_get_lladdr(idev, &addr_buf, IFA_F_TENTATIVE)) {
1581 /* <draft-ietf-magma-mld-source-05.txt>:
1582 * use unspecified address as the source address
1583 * when a valid link-local address is not available.
1584 */
1585 saddr = &in6addr_any;
1586 } else

--- 1363 unchanged lines hidden ---