aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2013-05-19 08:36:36 +0000
committerDavid S. Miller <[email protected]>2013-05-20 20:38:14 +0000
commit25dff94ff9df40d4d663bb6ea3193a7758cc50e5 (patch)
tree2371e9c1dea647c690a2b01255d462656a8393ce /tools/perf/scripts/python
parentbnx2x: Fix GSO for 57710/57711 chips (diff)
downloadkernel-25dff94ff9df40d4d663bb6ea3193a7758cc50e5.tar.gz
kernel-25dff94ff9df40d4d663bb6ea3193a7758cc50e5.zip
isdn/kcapi: fix a small underflow
In get_capi_ctr_by_nr() and get_capi_appl_by_nr() the parameter comes from skb->data. The current code can underflow to one space before the start of the array. The sanity check isn't needed in __get_capi_appl_by_nr() but I changed it to match the others. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions