]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitec8a2e5621db2da24badb3969eda7fd359e1869f
treec169c9e1d7d043ff5c73c3c4ccdcf09702d4f69a
parentb786e2b0faea1265d72533d59ec4482f764ad60f
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