aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJon Paul Maloy <[email protected]>2014-02-13 22:29:15 +0000
committerDavid S. Miller <[email protected]>2014-02-13 22:57:06 +0000
commita5377831eb64c1b8a7b911dc79aec73a930e95da (patch)
tree6507569b5f737a03f58008933c5fff64e566e72f /net/tipc/node.c
parenttipc: rename stack variables in function tipc_link_tunnel_rcv (diff)
downloadkernel-a5377831eb64c1b8a7b911dc79aec73a930e95da.tar.gz
kernel-a5377831eb64c1b8a7b911dc79aec73a930e95da.zip
tipc: changes to general packet reception algorithm
We change the order of checking for destination users when processing incoming packets. By placing the checks for users that may potentially replace the processed buffer, i.e., CHANGEOVER_PROTOCOL and MSG_FRAGMENTER, in a separate step before we check for the true end users, we get rid of a label and a 'goto', at the same time making the code more comprehensible and easy to follow. This commit does not change any functionality, it is just a cosmetic code reshuffle. Signed-off-by: Jon Maloy <[email protected]> Reviewed-by: Ying Xue <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions