Skip to content

Commit

Permalink
add comment to performance improvement in user-tun
Browse files Browse the repository at this point in the history
  • Loading branch information
cre4ture committed Sep 16, 2024
1 parent e6bcba2 commit f908c10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions overlay/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func NewUserDevice(tunCidr netip.Prefix) (*UserDevice, error) {
type UserDevice struct {
tunCidr netip.Prefix

// using channel of *buffer.View significantly improves performance
outboundChannel chan *buffer.View
inboundChannel chan *buffer.View

Expand Down

0 comments on commit f908c10

Please sign in to comment.