]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Do not drop vpn connection if packet arrived is larger than MTU
authorNikolay Martynov <mar.kolya@gmail.com>
Fri, 12 May 2017 23:57:29 +0000 (19:57 -0400)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 14 May 2017 16:22:31 +0000 (17:22 +0100)
commit9ac5e232214b728f675a44c43e61986ff9245b57
tree532c1321083b3ce80dd27e79ca4731ead2bad135
parente4221aa827bcd36617f18311a1cb3d0af0c7bc49
Do not drop vpn connection if packet arrived is larger than MTU

Sometimes server sends us packets that are larger than negotiated MTU.
Current implementation bails out in this case.
This patch makes openconnect to reserve space and handle incoming packets
that have size up to 16384 (to match CSTP).

This improves connection stability.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
oncp.c