Commit 8a62319b authored by Alexey Kuznetsov's avatar Alexey Kuznetsov Committed by David S. Miller

Remove unused field from TCP struct open_request.

parent 80f9a35d
......@@ -507,7 +507,7 @@ struct open_request {
__u16 rmt_port;
__u16 mss;
__u8 retrans;
__u8 index;
__u8 __pad;
__u16 snd_wscale : 4,
rcv_wscale : 4,
tstamp_ok : 1,
......
......@@ -799,7 +799,6 @@ static void tcp_v4_synq_add(struct sock *sk, struct open_request *req)
req->expires = jiffies + TCP_TIMEOUT_INIT;
req->retrans = 0;
req->sk = NULL;
req->index = h;
req->dl_next = lopt->syn_table[h];
write_lock(&tp->syn_wait_lock);
......
......@@ -1142,7 +1142,6 @@ static void tcp_v6_synq_add(struct sock *sk, struct open_request *req)
req->sk = NULL;
req->expires = jiffies + TCP_TIMEOUT_INIT;
req->retrans = 0;
req->index = h;
req->dl_next = lopt->syn_table[h];
write_lock(&tp->syn_wait_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment