diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-05-13 00:42:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-13 00:42:28 +0200 |
commit | 7ef43ebaa538e0cc9063cbf84593a05091bcace2 (patch) | |
tree | d2bac748f6620cc2f217672105918b2116f6c958 /drivers/net/niu.h | |
parent | tipc: Enhancements to name table initialization (diff) | |
download | linux-7ef43ebaa538e0cc9063cbf84593a05091bcace2.tar.xz linux-7ef43ebaa538e0cc9063cbf84593a05091bcace2.zip |
tipc: Fix race condition when creating socket or native port
This patch eliminates the (very remote) chance of a crash resulting
from a partially initialized socket or native port unexpectedly
receiving a message. Now, during the creation of a socket or native
port, the underlying generic port's lock is not released until all
initialization required to handle incoming messages has been done.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.h')
0 files changed, 0 insertions, 0 deletions