Revert "Change behavior of Subscribe to non-blocking. Fix test."

This reverts commit 916f9685fa.
This commit is contained in:
Quan Tian
2024-05-23 17:10:54 +08:00
committed by Alessandro Boch
parent 856e190dd7
commit 1e68b2710d
8 changed files with 0 additions and 32 deletions

View File

@@ -2434,9 +2434,6 @@ func linkSubscribeAt(newNs, curNs netns.NsHandle, ch chan<- LinkUpdate, done <-c
for {
msgs, from, err := s.Receive()
if err != nil {
if err == syscall.EAGAIN {
continue
}
if cberr != nil {
cberr(fmt.Errorf("Receive failed: %v",
err))