]> git.baikalelectronics.ru Git - kernel.git/commit
neigh: disallow un-init_net to change thresh of neigh
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 20 Jun 2013 02:01:34 +0000 (10:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 04:13:24 +0000 (21:13 -0700)
commit9c7924c74155a535c5ea9e58749e1ad393419cf4
treeec051c49410942a463d23fc9583a649851c8bff5
parent48b534e0edf723f57ebe09fd3cc617945cd23a5d
neigh: disallow un-init_net to change thresh of neigh

thresh and interval are global resources,
only init net can change them.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c