diff options
author | Matt Dunwoodie <ncon@noconroy.net> | 2021-04-19 19:30:51 +1000 |
---|---|---|
committer | Matt Dunwoodie <ncon@noconroy.net> | 2021-04-19 20:48:46 +1000 |
commit | f04a6833b04c8d126454c1491fb220f90def13f2 (patch) | |
tree | 5339e5538c0cdf8944f9c8196608493d7a65e195 /src/if_wg.c | |
parent | if_wg: replace %lu with PRIu64 (diff) | |
download | wireguard-freebsd-f04a6833b04c8d126454c1491fb220f90def13f2.tar.xz wireguard-freebsd-f04a6833b04c8d126454c1491fb220f90def13f2.zip |
if_wg: fixup wg_mbuf_reset
Zeroing these values broke TCP recv, so not great, just remove them and
hope they don't store anything secret.
Signed-off-by: Matt Dunwoodie <ncon@noconroy.net>
Diffstat (limited to '')
-rw-r--r-- | src/if_wg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/if_wg.c b/src/if_wg.c index fe31746..ae2a4b8 100644 --- a/src/if_wg.c +++ b/src/if_wg.c @@ -1386,8 +1386,6 @@ wg_mbuf_reset(struct mbuf *m) m->m_flags &= ~(M_BCAST|M_MCAST|M_VLANTAG); m->m_flags &= ~(M_PROTO1|M_PROTO2|M_PROTO3|M_PROTO4|M_PROTO5|M_PROTO6| M_PROTO7|M_PROTO8|M_PROTO9|M_PROTO10|M_PROTO11); - m->m_pkthdr.PH_per.sixtyfour[0] = 0; - m->m_pkthdr.PH_loc.sixtyfour[0] = 0; } static void |