]> git.karo-electronics.de Git - linux-beck.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)
commitd570d86497eeb11410b1c096d82ade11bcdd966c
tree8062856ffb899f95b7ec2f4a42aad004d8fc05c2
parent1186adf7df04e3b4298943fe89d9741ab42e30ff
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