diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-09-30 03:28:24 +0400 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-10-19 10:56:12 +0400 |
commit | 9835fd84990ca253c5b625005717a9be492788c0 (patch) | |
tree | 9daa36006886eecf80fe5c715049ef8307aecc0a /net/wimax/op-msg.c | |
parent | e1633fd636f3ed0379fcf08c47962205eadddb6b (diff) | |
download | linux-9835fd84990ca253c5b625005717a9be492788c0.tar.xz |
wimax/i2400m: fix race condition with tcpdump et al
tcpdump and friends were not being able to decode packets sent via
WiMAX; they had a zero ethernet type, even when the stack was properly
sending them to the device with the right type.
It happens that the driver was overwriting the (fake) ethernet header
for creating the hardware header and that was bitting the cloning used
by tcpdump (et al) to look into the packets.
Use pkskb_expand_head() [method copied from the e1000 driver] to fix.
Thanks to Herbert Xu and Andi Kleen for helping to diagnose and
pointing to the right fix.
Cc: Herbert Xu <gondor.apana.org.au>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'net/wimax/op-msg.c')
0 files changed, 0 insertions, 0 deletions