summaryrefslogtreecommitdiff
path: root/proto_ipv6_mobility_hdr.c
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 /proto_ipv6_mobility_hdr.c
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 'proto_ipv6_mobility_hdr.c')
0 files changed, 0 insertions, 0 deletions
e&id=71e0bbde0d88047f66b25721f69a441d46083748'>net: dsa: Add support for platform dataFlorian Fainelli1-18/+84 2017-02-07net: dsa: Rename and export dev_to_net_device()Florian Fainelli1-2/+3 2017-02-06bridge: fdb: write to used and updated at most once per jiffyNikolay Aleksandrov2-2/+4 2017-02-06bridge: move write-heavy fdb members in their own cache lineNikolay Aleksandrov1-4/+6 2017-02-06bridge: move to workqueue gcNikolay Aleksandrov10-23/+29 2017-02-06bridge: modify bridge and port to have often accessed fields in one cache lineNikolay Aleksandrov1-23/+20 2017-02-06net: dsa: introduce bridge notifierVivien Didelot2-11/+61 2017-02-06net: dsa: add switch notifierVivien Didelot5-0/+70 2017-02-06net: dsa: change state setter scopeVivien Didelot1-6/+9 2017-02-06net: dsa: rollback bridging on errorVivien Didelot1-1/+13 2017-02-06net: dsa: simplify netdevice events handlingVivien Didelot1-28/+16 2017-02-06net: dsa: move netdevice notifier registrationVivien Didelot3-10/+26 2017-02-06net-next: treewide use is_vlan_dev() helper function.Parav Pandit1-1/+2 2017-02-06sctp: process fwd tsn chunk only when prsctp is enabledXin Long1-0/+6 2017-02-06net: remove ndo_neigh_{construct, destroy} from stacked devicesIdo Schimmel