[TIPC]: Disallow config operations that aren't supported in certain modes.
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 26 Jun 2006 06:51:08 +0000 (23:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jun 2006 06:51:08 +0000 (23:51 -0700)
commite100ae92a68c55e7ba287866c20fe1b0ad4fcdee
tree733d0cbd80793d00aa53f2fbe09c85e8529fc901
parentc33d53b23589d9133af85effefbaa619853eb7f0
[TIPC]: Disallow config operations that aren't supported in certain modes.

This change provides user-friendly feedback when TIPC is unable to perform
certain configuration operations that don't work properly in certain modes.
(In particular, any reconfiguration request that would temporarily take TIPC
from network mode to standalone mode, or from standalone mode to not running
mode, is disallowed.)

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/config.c