From: Daniel Lenski Date: Mon, 7 Jun 2021 22:14:57 +0000 (-0700) Subject: Fix handling of concatenated PPP data packets X-Git-Tag: v8.20~161 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9d7dea1283a852996ae4b7ebb571a47fade97453;p=users%2Fdwmw2%2Fopenconnect.git Fix handling of concatenated PPP data packets This 'continue' prevented us from ever actually processing a concatenated packet if the first one was a *data* packet. Dan only tested this for concatenation of config packets in the early stages of the connection. Bad Dan. Signed-off-by: Daniel Lenski Signed-off-by: David Woodhouse --- diff --git a/ppp.c b/ppp.c index c78195dc..cb67ee87 100644 --- a/ppp.c +++ b/ppp.c @@ -1277,7 +1277,6 @@ static int ppp_mainloop(struct openconnect_info *vpninfo, int dtls, if (this == vpninfo->cstp_pkt) vpninfo->cstp_pkt = NULL; work_done = 1; - continue; } break;