Browse Source

Fix: release packet buffer (#82)

pull/133/head
xjasonlyu 3 years ago
parent
commit
47e74ed8c2
  1. 1
      core/device/iobased/endpoint.go

1
core/device/iobased/endpoint.go

@ -86,6 +86,7 @@ func (e *Endpoint) dispatchLoop() {
case header.IPv6Version:
e.InjectInbound(header.IPv6ProtocolNumber, pkt)
}
pkt.DecRef() /* release */
}
}

Loading…
Cancel
Save