projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e5025
)
madwifi: handle frame classification properly if eth->h_proto contains the protocol...
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 31 May 2009 17:15:09 +0000
(17:15 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 31 May 2009 17:15:09 +0000
(17:15 +0000)
SVN-Revision: 16237
package/madwifi/patches/390-frame_type.patch
patch
|
blob
|
history
diff --git
a/package/madwifi/patches/390-frame_type.patch
b/package/madwifi/patches/390-frame_type.patch
index 130f3b6d61ea5cff1f87958720f572674ddcba71..71d658b4e54f2f3785ef78f5b1266f32e3b57935 100644
(file)
--- a/
package/madwifi/patches/390-frame_type.patch
+++ b/
package/madwifi/patches/390-frame_type.patch
@@
-5,7
+5,7
@@
skb->pkt_type = PACKET_OTHERHOST;
- return eth->h_proto;
-+ if (
ntohs(eth->h_proto) >= 1536
)
++ if (
(ntohs(eth->h_proto) >= 1536) || (ntohs(eth->h_proto) < 38)
)
+ return eth->h_proto;
+ return htons(ETH_P_802_2);
}