kernel-hacking-2024-linux-s.../net/tipc
Allan Stephens b02b69c8a4 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>
2010-08-17 17:31:53 -07:00
..
addr.c tipc: Reduce footprint by un-inlining address routines 2010-05-12 23:02:26 -07:00
addr.h tipc: Reduce footprint by un-inlining address routines 2010-05-12 23:02:26 -07:00
bcast.c tipc: Reduce footprint by un-inlining port list routines 2010-05-12 23:02:27 -07:00
bcast.h tipc: Reduce footprint by un-inlining port list routines 2010-05-12 23:02:27 -07:00
bearer.c tipc: Reduce footprint by un-inlining bearer congestion routine 2010-05-12 23:02:28 -07:00
bearer.h tipc: Reduce footprint by un-inlining bearer congestion routine 2010-05-12 23:02:28 -07:00
cluster.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
cluster.h
config.c tipc: Add support for "-s" configuration option 2010-05-12 23:02:23 -07:00
config.h
core.c tipc: Fix log buffer memory leak if initialization fails 2010-08-17 17:31:51 -07:00
core.h tipc: Reduce footprint by un-inlining buf_acquire routine 2010-05-12 23:02:28 -07:00
dbg.c
dbg.h
discover.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
discover.h
eth_media.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
handler.c
Kconfig
link.c tipc: Check for disabled bearer when processing incoming messages 2010-08-17 17:31:53 -07:00
link.h tipc: Relocate trivial link status functions to header file 2010-05-12 23:02:24 -07:00
Makefile
msg.c tipc: Reduce footprint by un-inlining tipc_msg_* routines 2010-05-12 23:02:29 -07:00
msg.h tipc: Reduce footprint by un-inlining tipc_msg_* routines 2010-05-12 23:02:29 -07:00
name_distr.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
name_distr.h
name_table.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
name_table.h
net.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
net.h
netlink.c
node.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
node.h
node_subscr.c
node_subscr.h
port.c tipc: add tipc_ prefix to fcns targeted for un-inlining 2010-05-12 23:02:25 -07:00
port.h tipc: Eliminate obsolete port's "congested_link" field 2010-05-12 23:02:20 -07:00
ref.c tipc: fix lockdep warning on address assignment 2010-03-16 14:15:45 -07:00
ref.h
socket.c tipc: correct problems with misleading flags returned using poll() 2010-08-17 17:31:53 -07:00
subscr.c TIPC: Updated topology subscription protocol according to latest spec 2010-04-06 19:50:19 -07:00
subscr.h tipc: fix endianness on tipc subscriber messages 2010-03-08 12:20:58 -08:00
user_reg.c
user_reg.h
zone.c
zone.h