summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/delay.h
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2018-06-05 11:53:35 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2018-06-06 14:00:54 +0200
commit30a2e107108c66cbcb7776b58cbcd7db223a1cc9 (patch)
tree65ea68d08591b0d72584d6254142b654f7eb7ba6 /include/asm-generic/delay.h
parentnetfilter: ipset: List timing out entries with "timeout 1" instead of zero (diff)
downloadlinux-30a2e107108c66cbcb7776b58cbcd7db223a1cc9.tar.xz
linux-30a2e107108c66cbcb7776b58cbcd7db223a1cc9.zip
netfilter: ipset: Limit max timeout value
Due to the negative value condition in msecs_to_jiffies(), the real max possible timeout value must be set to (UINT_MAX >> 1)/MSEC_PER_SEC. Neutron Soutmun proposed the proper fix, but an insufficient one was applied, see https://patchwork.ozlabs.org/patch/400405/. Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'include/asm-generic/delay.h')
0 files changed, 0 insertions, 0 deletions