]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: same receive code path for connection protocol and data messages
authorJon Paul Maloy <jon.maloy@ericsson.com>
Thu, 26 Jun 2014 01:41:40 +0000 (20:41 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jun 2014 19:50:56 +0000 (12:50 -0700)
commit2bafce89bf2bf62d6a34e8d2131bfd4f4573f20d
treec169c9e1d7d043ff5c73c3c4ccdcf09702d4f69a
parent0abfebc550bfec8cee1d4e7cede4450e0d8646c5
tipc: same receive code path for connection protocol and data messages

As a preparation to eliminate port_lock we need to bring reception
of connection protocol messages under proper protection of bh_lock_sock
or socket owner.

We fix this by letting those messages follow the same code path as
incoming data messages.

As a side effect of this change, the last reference to the function
net_route_msg() disappears, and we can eliminate that function.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/net.c
net/tipc/net.h
net/tipc/port.c
net/tipc/port.h
net/tipc/socket.c