summaryrefslogtreecommitdiff
path: root/net/tipc/bearer.c
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2014-02-14 02:29:15 +0400
committerDavid S. Miller <davem@davemloft.net>2014-02-14 02:57:06 +0400
commita5377831eb64c1b8a7b911dc79aec73a930e95da (patch)
tree6507569b5f737a03f58008933c5fff64e566e72f /net/tipc/bearer.c
parent02842f718d9d47950ec9045825679ec266ba532d (diff)
downloadlinux-a5377831eb64c1b8a7b911dc79aec73a930e95da.tar.xz
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 <jon.maloy@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bearer.c')
0 files changed, 0 insertions, 0 deletions