Bump all vendoring (#1612)
Update all vendoring to current releases. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
14df2a1a1a
commit
1567cefdae
511 changed files with 98653 additions and 38115 deletions
18
vendor/github.com/mdlayher/netlink/conn.go
generated
vendored
18
vendor/github.com/mdlayher/netlink/conn.go
generated
vendored
|
|
@ -583,4 +583,22 @@ type Config struct {
|
|||
// CAP_SYS_ADMIN are required), and most applications should leave this set
|
||||
// to 0.
|
||||
NetNS int
|
||||
|
||||
// DisableNSLockThread disables package netlink's default goroutine thread
|
||||
// locking behavior.
|
||||
//
|
||||
// By default, the library will lock the processing goroutine to its
|
||||
// corresponding OS thread in order to enable communication over netlink to
|
||||
// a different network namespace.
|
||||
//
|
||||
// If the caller already knows that the netlink socket is in the same
|
||||
// namespace as the calling thread, this can introduce a performance
|
||||
// impact. This option disables the OS thread locking behavior if
|
||||
// performance considerations are of interest.
|
||||
//
|
||||
// If disabled, it is the responsibility of the caller to make sure that all
|
||||
// threads are running in the correct namespace.
|
||||
//
|
||||
// When DisableNSLockThread is set, the caller cannot set the NetNS value.
|
||||
DisableNSLockThread bool
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue