From: "Kris Katterjohn" <[EMAIL PROTECTED]>
Date: Thu, 5 Jan 2006 15:25:13 -0800

> Zero all ready gets returned if an error occurs, and net/packet/af_packet.c
> treats the return type as unsigned anyway. For some reason, under the BPF RET
> statements, fentry->k and A were cast to unsigned when A is all ready unsigned
> and they'd both be converted back to int! I dropped the cast on both; 
> fentry->k
> get converted anyway.
> 
> No other files need to be changed because no return values are really changed.

sk_filter() thinks the return value is an int, and applies that
signed value to skb_trim(), yikes!

Can you fix that up too and respin your patch?

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to