summaryrefslogtreecommitdiffstats
path: root/lib/crc16.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2010-08-17 13:00:07 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-18 02:31:53 +0200
commitb02b69c8a403859ec72090742727e853d606a325 (patch)
tree6c46c41cc46fde8ea8a45d6265a3381556e0f84e /lib/crc16.c
parenttipc: correct problems with misleading flags returned using poll() (diff)
downloadlinux-b02b69c8a403859ec72090742727e853d606a325.tar.xz
linux-b02b69c8a403859ec72090742727e853d606a325.zip
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 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions