diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2010-08-17 11:00:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-17 17:31:53 -0700 |
commit | b02b69c8a403859ec72090742727e853d606a325 (patch) | |
tree | 6c46c41cc46fde8ea8a45d6265a3381556e0f84e /.gitignore | |
parent | f662c07058f7e6365ae65080d772f9122f6f50a9 (diff) |
tipc: Check for disabled bearer when processing incoming messages
Add a check to tipc_recv_msg() to ensure it discards messages
arriving on a newly disabled bearer. This is needed to deal with a
race condition that can arise if the bearer is in the midst of being
disabled when it receives a message. Performing the check after
tipc_net_lock has been taken ensures that TIPC's bearers are in a
stable state while the message is being processed.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions