mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add Resume() method in netstack.
Resume method resumes the endpoints after save which is required for save/resume. This method resumes the endpoint states which were frozen during save. PiperOrigin-RevId: 615467468
This commit is contained in:
committed by
gVisor bot
parent
ed9678b679
commit
d5f24ea92a
@@ -479,6 +479,11 @@ func (s *Stack) Restore() {
|
||||
s.Stack.Restore()
|
||||
}
|
||||
|
||||
// Resume implements inet.Stack.Resume.
|
||||
func (s *Stack) Resume() {
|
||||
s.Stack.Resume()
|
||||
}
|
||||
|
||||
// RegisteredEndpoints implements inet.Stack.RegisteredEndpoints.
|
||||
func (s *Stack) RegisteredEndpoints() []stack.TransportEndpoint {
|
||||
return s.Stack.RegisteredEndpoints()
|
||||
|
||||
Reference in New Issue
Block a user