net: Rearrange loop in net_rx_action
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 20 Dec 2014 20:16:25 +0000 (07:16 +1100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Dec 2014 04:20:21 +0000 (23:20 -0500)
commitceb8d5bf17d366534f32d2f60f41d905a5bc864b
treecd9085f69e4492ce032fb55eafa09d52a3437ba2
parent6bd373ebbac4b13ecd39ddc37a0dc5ad4c5e4585
net: Rearrange loop in net_rx_action

This patch rearranges the loop in net_rx_action to reduce the
amount of jumping back and forth when reading the code.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c