Re: Kernel 2.6.13 breaks libpcap (and tcpdump).

From: Patrick McHardy
Date: Sun Sep 04 2005 - 12:32:04 EST


Patrick McHardy wrote:
Herbert Xu wrote:

We aren't handling the reading of specific fields like the IP protocol
field correctly. This patch should make it work again.


I can't spot the problem, could you give me a hint?

Never mind, I got it, we never fall through to the second switch
statement anymore. I think we could simply break when load_pointer
returns NULL. The switch statement will fall through to the default
case and return 0 for all cases but 0 > k >= SKF_AD_OFF.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/