tmp_suning_uos_patched/net/tipc
Jon Paul Maloy 16e166b88c tipc: make link mtu easily accessible from socket
Message fragmentation is currently performed at link level, inside
the protection of node_lock. This potentially binds up the sending
link structure for a long time, instead of letting it do other tasks,
such as handle reception of new packets.

In this commit, we make the MTUs of each active link become easily
accessible from the socket level, i.e., without taking any spinlock
or dereferencing the target link pointer. This way, we make it possible
to perform fragmentation in the sending socket, before sending the
whole fragment chain to the link for transport.

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>
2014-06-27 12:50:55 -07:00
..
addr.c
addr.h
bcast.c net: add __pskb_copy_fclone and pskb_copy_for_clone 2014-06-11 15:38:02 -07:00
bcast.h
bearer.c
bearer.h
config.c
config.h
core.c
core.h
discover.c
discover.h
eth_media.c
ib_media.c
Kconfig
link.c tipc: introduce send functions for chained buffers in link 2014-06-27 12:50:54 -07:00
link.h tipc: introduce send functions for chained buffers in link 2014-06-27 12:50:54 -07:00
log.c
Makefile
msg.c tipc: introduce send functions for chained buffers in link 2014-06-27 12:50:54 -07:00
msg.h tipc: introduce send functions for chained buffers in link 2014-06-27 12:50:54 -07:00
name_distr.c
name_distr.h
name_table.c
name_table.h
net.c tipc: merge port message reception into socket reception function 2014-05-14 15:19:48 -04:00
net.h
netlink.c
node_subscr.c tipc: eliminate case of writing to freed memory 2014-06-27 12:50:54 -07:00
node_subscr.h
node.c tipc: make link mtu easily accessible from socket 2014-06-27 12:50:55 -07:00
node.h tipc: make link mtu easily accessible from socket 2014-06-27 12:50:55 -07:00
port.c tipc: merge port message reception into socket reception function 2014-05-14 15:19:48 -04:00
port.h tipc: merge port message reception into socket reception function 2014-05-14 15:19:48 -04:00
ref.c
ref.h
server.c
server.h
socket.c tipc: use negative error return values in functions 2014-06-27 12:50:54 -07:00
socket.h tipc: merge port message reception into socket reception function 2014-05-14 15:19:48 -04:00
subscr.c
subscr.h
sysctl.c