diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-01-25 23:09:13 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-01-25 23:09:13 +0000 |
commit | 29dbf43bdb18ecc6b4e3df180114ef03e67a22e7 (patch) | |
tree | f2f608c07e3f14f9acd9f3d0504e5b112408a812 /package/madwifi/patches/314-ap_bridge_multicast.patch | |
parent | 410d80b0c87de11d3f70b012b8168b8b00a76f3a (diff) |
add some random madwifi fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10260 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/314-ap_bridge_multicast.patch')
-rw-r--r-- | package/madwifi/patches/314-ap_bridge_multicast.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/madwifi/patches/314-ap_bridge_multicast.patch b/package/madwifi/patches/314-ap_bridge_multicast.patch new file mode 100644 index 0000000000..a57901bca3 --- /dev/null +++ b/package/madwifi/patches/314-ap_bridge_multicast.patch @@ -0,0 +1,15 @@ +Index: madwifi-dfs-r3252/net80211/ieee80211_input.c +=================================================================== +--- madwifi-dfs-r3252.orig/net80211/ieee80211_input.c 2008-01-26 00:03:20.203760157 +0100 ++++ madwifi-dfs-r3252/net80211/ieee80211_input.c 2008-01-26 00:08:08.773799701 +0100 +@@ -1133,8 +1133,8 @@ + + if (ETHER_IS_MULTICAST(eh->ether_dhost)) { + skb1 = skb_copy(skb, GFP_ATOMIC); +- /* We duplicate the reference after skb_copy */ +- ieee80211_skb_copy_noderef(skb, skb1); ++ /* Use the BSS node for retransmitting this multicast frame */ ++ SKB_CB(skb1)->ni = ieee80211_ref_node(vap->iv_bss); + } + else { + /* |