|
|
Re: [PATCH net-next 1/2] l2tp: fix reorder timeout recovery |
From: James Chapman <jchapman@xxxxxxxxxxx> Date: Thu, 10 May 2012 10:43:08 +0100 > When L2TP data packet reordering is enabled, packets are held in a > queue while waiting for out-of-sequence packets. If a packet gets > lost, packets will be held until the reorder timeout expires, when we > are supposed to then advance to the sequence number of the next packet > but we don't currently do so. As a result, the data channel is stuck > because we are waiting for a packet that will never arrive - all > packets age out and none are passed. > > The fix is to add a flag to the session context, which is set when the > reorder timeout expires and tells the receive code to reset the next > expected sequence number to that of the next packet in the queue. > > Tested in a production L2TP network with Starent and Nortel L2TP gear. > > Signed-off-by: James Chapman <jchapman@xxxxxxxxxxx> Applied, but reorder_skip should really be a 'bool'. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion] [Ethernet Bridging] [Linux Wireless Networking] [Linux Bluetooth Networking] [Linux Networking Users] [VLAN] [Git] [IETF Annouce] [Linux Assembly] [Security] [Bugtraq] [Photo] [Singles Social Networking] [Yosemite Information] [MIPS Linux] [ARM Linux Kernel] [ARM Linux] [Linux Virtualization] [Linux Security] [Linux IDE] [Linux RAID] [Linux SCSI] [Free Dating]
![]() |
![]() |