diff options
author | Alexander Skorichenko <askorichenko@netgate.com> | 2023-01-19 14:26:47 +0100 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2023-02-16 15:01:07 +0000 |
commit | edd28a4102949a6f91280dd7d2fd0d0139de8198 (patch) | |
tree | ac96f8164bef525e7dbfec90f13dc4d9d0b793d2 /extras/hs-test/script | |
parent | 5b704f4fa1280b5603ed1cbf8ae9be4b2b1cb016 (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 'extras/hs-test/script')
0 files changed, 0 insertions, 0 deletions