summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_dsmark.c
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2014-02-13 17:29:15 -0500
committerDavid S. Miller <davem@davemloft.net>2014-02-13 17:57:06 -0500
commita5377831eb64c1b8a7b911dc79aec73a930e95da (patch)
tree6507569b5f737a03f58008933c5fff64e566e72f /net/sched/sch_dsmark.c
parent02842f718d9d47950ec9045825679ec266ba532d (diff)
downloadblackbird-op-linux-a5377831eb64c1b8a7b911dc79aec73a930e95da.tar.gz
blackbird-op-linux-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 <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/sched/sch_dsmark.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud