]> 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)
commitd6958d762afcec684627deb949f639eb825e3202
treec169c9e1d7d043ff5c73c3c4ccdcf09702d4f69a
parentcc8a7f2e5f515b2ae7490d4e105513cd38de9790
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