From: Ben Hutchings Date: Fri, 24 Jun 2011 23:22:08 +0000 (+0100) Subject: sfc: Fix assertions in efx_filter_rfs() X-Git-Tag: v3.1-rc1~316^2~154^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=589327905cf0ce4402f7fb1ed29682f7ae68a82e sfc: Fix assertions in efx_filter_rfs() This function is intended to assert (when DEBUG is defined) that the skb header area includes the header fields it's looking at, which RFS should already have pulled. But it uses pskb_may_pull(), which will attempt to pull more data if necesary. It must instead compare skb_headlen() with the required length. Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed