mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Fix MPTCP patch
This commit is contained in:
		
							parent
							
								
									9045c86ba2
								
							
						
					
					
						commit
						0ed7866c5a
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -20294,12 +20294,12 @@ index 49e947ce94e4..ac064b63e903 100644
 | 
			
		|||
--- a/net/mptcp/mptcp_output.c
 | 
			
		||||
+++ b/net/mptcp/mptcp_output.c
 | 
			
		||||
@@ -240,6 +240,9 @@ static void __mptcp_reinject_data(struct sk_buff *orig_skb, struct sock *meta_sk
 | 
			
		||||
	if (!after(end_seq, TCP_SKB_CB(skb1)->seq))
 | 
			
		||||
	    break;
 | 
			
		||||
 		if (!after(end_seq, TCP_SKB_CB(skb1)->seq))
 | 
			
		||||
 			break;
 | 
			
		||||
 
 | 
			
		||||
+		if (before(end_seq, TCP_SKB_CB(skb1)->end_seq))
 | 
			
		||||
+			break;
 | 
			
		||||
+
 | 
			
		||||
	__skb_unlink(skb1, &mpcb->reinject_queue);
 | 
			
		||||
	__kfree_skb(skb1);
 | 
			
		||||
    }
 | 
			
		||||
 		__skb_unlink(skb1, &mpcb->reinject_queue);
 | 
			
		||||
 		__kfree_skb(skb1);
 | 
			
		||||
 	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue