aboutsummaryrefslogtreecommitdiffstats
path: root/src/svm/ssvm.c
diff options
context:
space:
mode:
authorAlexander Skorichenko <askorichenko@netgate.com>2023-01-19 14:26:47 +0100
committerMatthew Smith <mgsmith@netgate.com>2023-02-16 15:01:07 +0000
commitedd28a4102949a6f91280dd7d2fd0d0139de8198 (patch)
treeac96f8164bef525e7dbfec90f13dc4d9d0b793d2 /src/svm/ssvm.c
parent5b704f4fa1280b5603ed1cbf8ae9be4b2b1cb016 (diff)
wireguard: move buffer when insufficient pre_data left
Currently wg-output-tun() doesn't check if a buffer has enough space for prepending an ethernet header (wg header over ipv6 vxlan header case leaves only 8 bytes free). In such a case move buffer's content. Type: fix Change-Id: Iad18860e6b86a3d81f3d96d782de7c59556152d0 Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
Diffstat (limited to 'src/svm/ssvm.c')
0 files changed, 0 insertions, 0 deletions