Lines Matching full:flush
193 int flush = 1; in tcp_gro_receive() local
236 flush = NAPI_GRO_CB(p)->flush; in tcp_gro_receive()
237 flush |= (__force int)(flags & TCP_FLAG_CWR); in tcp_gro_receive()
238 flush |= (__force int)((flags ^ tcp_flag_word(th2)) & in tcp_gro_receive()
240 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
242 flush |= *(u32 *)((u8 *)th + i) ^ in tcp_gro_receive()
252 flush |= NAPI_GRO_CB(p)->flush_id; in tcp_gro_receive()
263 flush |= (mss != skb_shinfo(skb)->gso_size); in tcp_gro_receive()
265 flush |= (len - 1) >= mss; in tcp_gro_receive()
267 flush |= (ntohl(th2->seq) + skb_gro_len(p)) ^ ntohl(th->seq); in tcp_gro_receive()
269 flush |= p->decrypted ^ skb->decrypted; in tcp_gro_receive()
272 if (flush || skb_gro_receive(p, skb)) { in tcp_gro_receive()
280 /* Force a flush if last segment is smaller than mss. */ in tcp_gro_receive()
282 flush = len != NAPI_GRO_CB(skb)->count * skb_shinfo(skb)->gso_size; in tcp_gro_receive()
284 flush = len < mss; in tcp_gro_receive()
286 flush |= (__force int)(flags & (TCP_FLAG_URG | TCP_FLAG_PSH | in tcp_gro_receive()
290 if (p && (!NAPI_GRO_CB(skb)->same_flow || flush)) in tcp_gro_receive()
294 NAPI_GRO_CB(skb)->flush |= (flush != 0); in tcp_gro_receive()
322 /* Don't bother verifying checksum if we're going to flush anyway. */ in tcp4_gro_receive()
323 if (!NAPI_GRO_CB(skb)->flush && in tcp4_gro_receive()
326 NAPI_GRO_CB(skb)->flush = 1; in tcp4_gro_receive()