]> 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)
commit50e1a72ad7189709855d732b1fe974eefea7e28e
treeb0790dcc52f9b070e0b646eb6c0b7a16ac8c4a1a
parent5f82abeb7e93caa46ccc9ed19aa0035fed7b8ab2
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