tcp: Remove interim 'tapside' field from connection
We recently introduced this field to keep track of which side of a TCP flow is the guest/tap facing one. Now that we generically record which pif each side of each flow is connected to, we can easily derive that, and no longer need to keep track of it explicitly. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:

committed by
Stefano Brivio

parent
8a2accb847
commit
cc801fb38f
@@ -13,7 +13,6 @@
|
||||
* struct tcp_tap_conn - Descriptor for a TCP connection (not spliced)
|
||||
* @f: Generic flow information
|
||||
* @in_epoll: Is the connection in the epoll set?
|
||||
* @tapside: Which side of the flow faces the tap/guest interface
|
||||
* @tap_mss: MSS advertised by tap/guest, rounded to 2 ^ TCP_MSS_BITS
|
||||
* @sock: Socket descriptor number
|
||||
* @events: Connection events, implying connection states
|
||||
@@ -40,7 +39,6 @@ struct tcp_tap_conn {
|
||||
struct flow_common f;
|
||||
|
||||
bool in_epoll :1;
|
||||
unsigned tapside :1;
|
||||
|
||||
#define TCP_RETRANS_BITS 3
|
||||
unsigned int retrans :TCP_RETRANS_BITS;
|
||||
|
Reference in New Issue
Block a user