net: Refactor to protect access to the NetState variable
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:14 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:46:21 +0000 (17:46 -0500)
commit22f6e99d5b0c54758646334c1153737a5585bd57
treee70b3679ff62e93345fc0f7e3960d37582cea612
parentadf5d93e441eb3eacd8c0430d6064b35d47ad2a5
net: Refactor to protect access to the NetState variable

Changes to NetState now go through an accessor function called
net_set_state()

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/netconsole.c
include/net.h
net/cdp.c
net/dns.c
net/net.c
net/nfs.c
net/ping.c
net/sntp.c
net/tftp.c