summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-cmos.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-06-25 00:22:08 +0100
committerBen Hutchings <bhutchings@solarflare.com>2011-06-25 00:43:50 +0100
commit589327905cf0ce4402f7fb1ed29682f7ae68a82e (patch)
tree8395e43faa28ed863c1fe270ced3111ee66d3d3c /drivers/rtc/rtc-cmos.c
parenta659b2a94d87add999229ecd9f2f56817d5d737b (diff)
downloadblackbird-op-linux-589327905cf0ce4402f7fb1ed29682f7ae68a82e.tar.gz
blackbird-op-linux-589327905cf0ce4402f7fb1ed29682f7ae68a82e.zip
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>
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud