Skip to content

Commit 9b21ec9

Browse files
committed
netstack/dispatcher: fix build error
1 parent e142bd0 commit 9b21ec9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

intra/netstack/dispatchers.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func newReadVDispatcher(f *fds, e *endpoint) (linkDispatcher, error) {
188188
d := &readVDispatcher{
189189
e: e,
190190
buf: newIovecBuffer(bufcfg),
191-
mgr: newSupervisor(e, icmp, f.tun()),
191+
mgr: newSupervisor(e, f.tun()),
192192
}
193193
d.mgr.start()
194194

@@ -210,7 +210,6 @@ func (d *readVDispatcher) stop() {
210210

211211
d.once.Do(func() {
212212
d.closed.Store(true)
213-
d.icmp.stop()
214213
d.mgr.stop()
215214
log.I("ns: dispatch: closed!")
216215
})

0 commit comments

Comments
 (0)