diff options
author | Peter Pan(潘卫平) <panweiping3@gmail.com> | 2014-09-24 14:17:02 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-28 20:37:57 (GMT) |
commit | 155c6e1ad4a778cad7f9fe6695afc91b3f5fe1ac (patch) | |
tree | f769a4d224724a1de9f99c85e45322b9d7e29ddc /net/dsa | |
parent | cd7d8498c9a5d510c64db38d9f4f4fbc41790f09 (diff) | |
download | linux-155c6e1ad4a778cad7f9fe6695afc91b3f5fe1ac.tar.xz |
tcp: use tcp_flags in tcp_data_queue()
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>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions