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)
commitb82d1bb4fd206ed305f9e955eeffc4a678149442
treeb0790dcc52f9b070e0b646eb6c0b7a16ac8c4a1a
parent3f192795cf1a0098df7bd655f7a72eee26bd63c3
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