summaryrefslogtreecommitdiffhomepage
path: root/tun
diff options
context:
space:
mode:
authorColin Adler <colin1adler@gmail.com>2023-02-06 16:35:59 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2023-02-07 20:10:52 -0300
commit077ce8ecab38fbd2d9f10e8bc486ba165271a7ff (patch)
tree30f19bfb80d743329e7bc0927a03e52da814cec5 /tun
parentbb719d3a6e2cd20ec00f26d65c0073c1dde6b529 (diff)
tun/netstack: bump gvisor
Bump gVisor to a recent known-good version. Signed-off-by: Colin Adler <colin1adler@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun')
-rw-r--r--tun/netstack/tun.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/netstack/tun.go b/tun/netstack/tun.go
index eaa505c..6161d30 100644
--- a/tun/netstack/tun.go
+++ b/tun/netstack/tun.go
@@ -141,7 +141,7 @@ func (tun *netTun) Write(buf []byte, offset int) (int, error) {
func (tun *netTun) WriteNotify() {
pkt := tun.ep.Read()
- if pkt == nil {
+ if pkt.IsNil() {
return
}