summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_options.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-04-23 00:09:13 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-23 12:22:13 -0700
commit0093cb1199ec551f179562ca9fbd6f64fb750645 (patch)
treea17c2166db3d0f78d3ef7400d396476a70c58903 /net/ipv4/ip_options.c
parent94bc891b00e40cbec375feb4568780af183fd7f4 (diff)
downloadlinux-0093cb1199ec551f179562ca9fbd6f64fb750645.tar.gz
linux-0093cb1199ec551f179562ca9fbd6f64fb750645.tar.bz2
linux-0093cb1199ec551f179562ca9fbd6f64fb750645.zip
pnpacpi: fix potential corruption on "pnpacpi: exceeded the max number of IRQ resources 2"
PNP_MAX_IRQ is 2 If a device invokes pnpacpi_parse_allocated_irqresource() 0, 1, or 2 times, we are happy. The 3rd time, we will fail and print "pnpacpi: exceeded the max number of IRQ resources: 2" The 4th and subsequent calls (if this ever happened) would silently scribble on irq_resource[2], which doesn't actualy exist. Found-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ipv4/ip_options.c')
0 files changed, 0 insertions, 0 deletions