]> git.karo-electronics.de Git - karo-tx-linux.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)
commitdc25c676f54addb10e598daa9da9b8dd4fd487ab
treeec051c49410942a463d23fc9583a649851c8bff5
parent170d6f99541600ec7512f1d2b0b0c349009098d2
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