tcp: Move code related to head frag in tcp_try_coalesce
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 2 May 2012 21:19:04 +0000 (21:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2012 08:21:33 +0000 (04:21 -0400)
commit57b55a7ec684d8b846d6d5e67f4982363a83db7e
tree29ea3a30a701d10ba2dbcb4a003952fe8e2f23f6
parentc73c3d9c49daae8acbac4cd14bcd81626887c0e6
tcp: Move code related to head frag in tcp_try_coalesce

This change reorders the code related to the use of an skb->head_frag so it
is placed before we check the rest of the frags.  This allows the code to
read more linearly instead of like some sort of loop.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c