diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
commit | 9d829ed05c295df608b4fc108eb1c628fd06fd39 (patch) | |
tree | c1b27cfe4498f8abef1a61325922906f3e6a32ff /packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch | |
parent | 1434b204e16e87b7f59f074f3036d5dcbcf0116f (diff) | |
parent | 6ccac10beeaaa02a86081bd6179fd57c208ad6b1 (diff) |
merge of '76e1e69496801009ea0aa69c84f76e858978ab99'
and 'db976a98427dd6a195e2cf167e225de2d0206aea'
Diffstat (limited to 'packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch')
-rw-r--r-- | packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch b/packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch new file mode 100644 index 0000000000..bad4989f60 --- /dev/null +++ b/packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch @@ -0,0 +1,16 @@ +--- madwifi-0.9.3-orig/ath/if_ath.c 2007-04-12 12:53:01.000000000 +0200 ++++ madwifi-0.9.3/ath/if_ath.c 2007-04-12 12:40:37.078056016 +0200 +@@ -5634,6 +5634,13 @@ + sc->sc_devstats.rx_packets++; + sc->sc_devstats.rx_bytes += len; + ++ if((skb->tail + len) > skb->end) { ++ printk(" --------- found dodgy wifi rx skb_put\n"); ++ dev_kfree_skb(skb); ++ skb = NULL; ++ goto rx_next; ++ } ++ + skb_put(skb, len); + skb->protocol = __constant_htons(ETH_P_CONTROL); + |