summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-08-18 11:58:41 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-09-15 18:27:48 +0200
commit5ca82e492cd88813f22d40dc2fecaaa2b3dcd51d (patch)
treebc3e6c8dd9119befffa3f51b0e7347bc423245a9 /netsniff-ng
parent93127b0f9515be4b8f1365d7670744fcac0ade16 (diff)
ifpps: Prevent division by zero
Even though it's very unlikely we ever read zero values from the cpu lines in /proc/stat, we should still protect against division by zero. Detected using UBSan. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng')
0 files changed, 0 insertions, 0 deletions
351f13d2b178'>diff)parent030305d69fc6963c16003f50d7e8d74b02d0a143 (diff)
Merge tag 'pci-v4.10-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fix from Bjorn Helgaas: "Configure ASPM on the link from a PCI-to-PCIe bridge (avoids a NULL pointer dereference on topologies including these bridges)" * tag 'pci-v4.10-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies
Diffstat (limited to 'drivers/usb/image/Makefile')