]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: enqueue arrived buffers in socket in separate function
authorJon Paul Maloy <jon.maloy@ericsson.com>
Thu, 5 Feb 2015 13:36:38 +0000 (08:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Feb 2015 00:00:02 +0000 (16:00 -0800)
commit953a7b9d44a835bd1bac3c826c128acea8b94759
tree8062856ffb899f95b7ec2f4a42aad004d8fc05c2
parentb1ad3f9393c975c75c6953e3339c44a4a3fb4c53
tipc: enqueue arrived buffers in socket in separate function

The code for enqueuing arriving buffers in the function tipc_sk_rcv()
contains long code lines and currently goes to two indentation levels.
As a cosmetic preparaton for the next commits, we break it out into
a separate function.

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