]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2013 19:13:05 +0000 (11:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2013 19:13:05 +0000 (11:13 -0800)
added patches:
mac80211-don-t-attempt-to-reorder-multicast-frames.patch

queue-3.4/mac80211-don-t-attempt-to-reorder-multicast-frames.patch [new file with mode: 0644]
queue-3.4/series

diff --git a/queue-3.4/mac80211-don-t-attempt-to-reorder-multicast-frames.patch b/queue-3.4/mac80211-don-t-attempt-to-reorder-multicast-frames.patch
new file mode 100644 (file)
index 0000000..5840b5c
--- /dev/null
@@ -0,0 +1,36 @@
+From 051a41fa4ee14f5c39668f0980973b9a195de560 Mon Sep 17 00:00:00 2001
+From: Johannes Berg <johannes.berg@intel.com>
+Date: Wed, 20 Nov 2013 11:28:27 +0100
+Subject: mac80211: don't attempt to reorder multicast frames
+
+From: Johannes Berg <johannes.berg@intel.com>
+
+commit 051a41fa4ee14f5c39668f0980973b9a195de560 upstream.
+
+Multicast frames can't be transmitted as part of an aggregation
+session (such a session couldn't even be set up) so don't try to
+reorder them. Trying to do so would cause the reorder to stop
+working correctly since multicast QoS frames (as transmitted by
+the Aruba APs this was found with) would cause sequence number
+confusion in the buffer.
+
+Reported-by: Blaise Gassend <blaise@suitabletech.com>
+Signed-off-by: Johannes Berg <johannes.berg@intel.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ net/mac80211/rx.c |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/net/mac80211/rx.c
++++ b/net/mac80211/rx.c
+@@ -763,7 +763,8 @@ static void ieee80211_rx_reorder_ampdu(s
+       u16 sc;
+       u8 tid, ack_policy;
+-      if (!ieee80211_is_data_qos(hdr->frame_control))
++      if (!ieee80211_is_data_qos(hdr->frame_control) ||
++          is_multicast_ether_addr(hdr->addr1))
+               goto dont_reorder;
+       /*
index 6facf1ef47328f9de3a414092ced139da3e87371..2f1fb244e18dc0eb209815b2476f3b2f14e878ac 100644 (file)
@@ -17,3 +17,4 @@ input-usbtouchscreen-separate-report-and-transmit-buffer-size-handling.patch
 drivers-rtc-rtc-at91rm9200.c-correct-alarm-over-day-month-wrap.patch
 selinux-handle-tcp-syn-ack-packets-correctly-in-selinux_ip_output.patch
 selinux-handle-tcp-syn-ack-packets-correctly-in-selinux_ip_postroute.patch
+mac80211-don-t-attempt-to-reorder-multicast-frames.patch