]> git.baikalelectronics.ru Git - kernel.git/commit
neigh: prevent overflowing params in /proc/sys/net/ipv4/neigh/
authorFrancesco Fusco <ffusco@redhat.com>
Wed, 24 Jul 2013 08:39:06 +0000 (10:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jul 2013 21:22:10 +0000 (14:22 -0700)
commit9bab497396022c3c9f31688016253447bd485fa3
tree93fdd168676eac5f02b1f4ee349247a3aa8332b3
parent30514b577b1cbe7fe16946d31e9b7ebd8854aa6d
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: Francesco Fusco <ffusco@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c