commit | 589327905cf0ce4402f7fb1ed29682f7ae68a82e | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Sat Jun 25 00:22:08 2011 +0100 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Sat Jun 25 00:43:50 2011 +0100 |
tree | 8395e43faa28ed863c1fe270ced3111ee66d3d3c | |
parent | a659b2a94d87add999229ecd9f2f56817d5d737b [diff] |
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 <bhutchings@solarflare.com>