aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2014-10-29 08:45:04 +0000
committerTejun Heo <[email protected]>2014-10-29 14:34:34 +0000
commit9f295664e2f2cdf53c596f74bcf3f644cae9fecc (patch)
tree31e986db37787dcc9758a68fd30261bd7adebd21 /drivers/net/xen-netback/interface.c
parentLinux 3.18-rc2 (diff)
downloadkernel-9f295664e2f2cdf53c596f74bcf3f644cae9fecc.tar.gz
kernel-9f295664e2f2cdf53c596f74bcf3f644cae9fecc.zip
percpu: off by one in BUG_ON()
The unit_map[] array has "nr_cpu_ids" number of elements. It's allocated a few lines earlier in the function. So this test should be >= instead of >. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions