[TCP]: Remove TCPCB_URG & TCPCB_AT_TAIL as unnecessary
The snd_up check should be enough. I suspect this has been there to provide a minor optimization in clean_rtx_queue which used to have a small if (!->sacked) block which could skip snd_up check among the other work. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
cadbd0313b
commit
4828e7f49a
@@ -497,7 +497,6 @@ static inline void tcp_mark_urg(struct tcp_sock *tp, int flags,
|
||||
if (flags & MSG_OOB) {
|
||||
tp->urg_mode = 1;
|
||||
tp->snd_up = tp->write_seq;
|
||||
TCP_SKB_CB(skb)->sacked |= TCPCB_URG;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user