]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: unalias tcp_skb_cb flags and ip_dsfield
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 27 Sep 2011 06:20:08 +0000 (02:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2011 06:20:08 +0000 (02:20 -0400)
commit436fb0c18d8b1c1691c0bb80efcba8f1ee231190
treeb0790dcc52f9b070e0b646eb6c0b7a16ac8c4a1a
parent22c2c2b5daf4f89d3fe45093a13c36cacf26f8ea
tcp: unalias tcp_skb_cb flags and ip_dsfield

struct tcp_skb_cb contains a "flags" field containing either tcp flags
or IP dsfield depending on context (input or output path)

Introduce ip_dsfield to make the difference clear and ease maintenance.
If later we want to save space, we can union flags/ip_dsfield

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c