diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2013-07-26 11:05:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-28 14:13:55 -0400 |
commit | 9d4a0314642918cbda9ed4012df51e8df608fce6 (patch) | |
tree | 721b3fad6c1b19258416962ca9846bde797a4e60 /net/ipv6 | |
parent | dcfe8048de66c3468060c8a2ec2c04ae3725d002 (diff) |
ipv4, ipv6: send igmpv3/mld packets with TC_PRIO_CONTROL
v2:
a) Also send ipv4 igmp messages with TC_PRIO_CONTROL
Cc: William Manley <william.manley@youview.com>
Cc: Lukas Tribus <luky-37@hotmail.com>
Acked-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/mcast.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index 99cd65c715cd..db25b8eb62bd 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/proc_fs.h> | 44 | #include <linux/proc_fs.h> |
45 | #include <linux/seq_file.h> | 45 | #include <linux/seq_file.h> |
46 | #include <linux/slab.h> | 46 | #include <linux/slab.h> |
47 | #include <linux/pkt_sched.h> | ||
47 | #include <net/mld.h> | 48 | #include <net/mld.h> |
48 | 49 | ||
49 | #include <linux/netfilter.h> | 50 | #include <linux/netfilter.h> |
@@ -1376,6 +1377,7 @@ static struct sk_buff *mld_newpack(struct inet6_dev *idev, int size) | |||
1376 | if (!skb) | 1377 | if (!skb) |
1377 | return NULL; | 1378 | return NULL; |
1378 | 1379 | ||
1380 | skb->priority = TC_PRIO_CONTROL; | ||
1379 | skb_reserve(skb, hlen); | 1381 | skb_reserve(skb, hlen); |
1380 | 1382 | ||
1381 | if (__ipv6_get_lladdr(idev, &addr_buf, IFA_F_TENTATIVE)) { | 1383 | if (__ipv6_get_lladdr(idev, &addr_buf, IFA_F_TENTATIVE)) { |
@@ -1769,7 +1771,7 @@ static void igmp6_send(struct in6_addr *addr, struct net_device *dev, int type) | |||
1769 | rcu_read_unlock(); | 1771 | rcu_read_unlock(); |
1770 | return; | 1772 | return; |
1771 | } | 1773 | } |
1772 | 1774 | skb->priority = TC_PRIO_CONTROL; | |
1773 | skb_reserve(skb, hlen); | 1775 | skb_reserve(skb, hlen); |
1774 | 1776 | ||
1775 | if (ipv6_get_lladdr(dev, &addr_buf, IFA_F_TENTATIVE)) { | 1777 | if (ipv6_get_lladdr(dev, &addr_buf, IFA_F_TENTATIVE)) { |