Skip to content
Commit 555445cd authored by Francesco Fusco's avatar Francesco Fusco Committed by David S. Miller
Browse files

neigh: prevent overflowing params in /proc/sys/net/ipv4/neigh/



Without this patch, the fields app_solicit, gc_thresh1, gc_thresh2,
gc_thresh3, proxy_qlen, ucast_solicit, mcast_solicit could have
assumed negative values when setting large numbers.

Signed-off-by: default avatarFrancesco Fusco <ffusco@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 111cc5da
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment