tcp: use tcp_flags in tcp_data_queue()
authorPeter Pan(潘卫平) <panweiping3@gmail.com>
Wed, 24 Sep 2014 14:17:02 +0000 (22:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Sep 2014 20:37:57 +0000 (16:37 -0400)
This patch is a cleanup which follows the idea in commit e11ecddf5128 (tcp: use
TCP_SKB_CB(skb)->tcp_flags in input path),
and it may reduce register pressure since skb->cb[] access is fast,
bacause skb is probably in a register.

v2: remove variable th
v3: reword the changelog

Signed-off-by: Weiping Pan <panweiping3@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found