summaryrefslogtreecommitdiffstats
path: root/net/ipv6/reassembly.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-12-29 07:45:23 +0100
committerDavid S. Miller <davem@davemloft.net>2018-12-30 21:57:04 +0100
commit58075ff523af85002bfeace07304d57c59251605 (patch)
treed28039797f42324090e196afe7073fb5b982cacb /net/ipv6/reassembly.c
parentnet/ipv6: Fix a test against 'ipv6_find_idev()' return value (diff)
downloadlinux-58075ff523af85002bfeace07304d57c59251605.tar.xz
linux-58075ff523af85002bfeace07304d57c59251605.zip
ipv4: fib_rules: Fix possible infinite loop in fib_empty_table
gcc warn this: net/ipv4/fib_rules.c:203 fib_empty_table() warn: always true condition '(id <= 4294967295) => (0-u32max <= u32max)' 'id' is u32, which always not greater than RT_TABLE_MAX (0xFFFFFFFF), So add a check to break while wrap around. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions