summaryrefslogtreecommitdiffstats
path: root/net/atm/pppoatm.c
diff options
context:
space:
mode:
authorJon Paul Maloy2013-12-10 07:54:46 +0100
committerDavid S. Miller2013-12-11 04:35:49 +0100
commit993b858e37b3120ee76d9957a901cca22312ffaa (patch)
treedf26838fc74afddafc9f962321d3278f0810467d /net/atm/pppoatm.c
parenttg3: Initialize REG_BASE_ADDR at PCI config offset 120 to 0 (diff)
downloadkernel-qcow2-linux-993b858e37b3120ee76d9957a901cca22312ffaa.tar.gz
kernel-qcow2-linux-993b858e37b3120ee76d9957a901cca22312ffaa.tar.xz
kernel-qcow2-linux-993b858e37b3120ee76d9957a901cca22312ffaa.zip
tipc: correct the order of stopping services at rmmod
The 'signal handler' service in TIPC is a mechanism that makes it possible to postpone execution of functions, by launcing them into a job queue for execution in a separate tasklet, independent of the launching execution thread. When we do rmmod on the tipc module, this service is stopped after the network service. At the same time, the stopping of the network service may itself launch jobs for execution, with the risk that these functions may be scheduled for execution after the data structures meant to be accessed by the job have already been deleted. We have seen this happen, most often resulting in an oops. This commit ensures that the signal handler is the very first to be stopped when TIPC is shut down, so there are no surprises during the cleanup of the other services. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/pppoatm.c')
0 files changed, 0 insertions, 0 deletions