mirror of
https://github.com/vishvananda/netlink.git
synced 2025-10-01 06:02:16 +08:00
Revert "Change behavior of Subscribe
to non-blocking. Fix test."
This reverts commit 916f9685fa
.
This commit is contained in:

committed by
Alessandro Boch

parent
856e190dd7
commit
1e68b2710d
@@ -499,9 +499,6 @@ loop:
|
||||
for {
|
||||
msgs, from, err := s.Receive()
|
||||
if err != nil {
|
||||
if err == syscall.EAGAIN {
|
||||
continue
|
||||
}
|
||||
return err
|
||||
}
|
||||
if from.Pid != nl.PidKernel {
|
||||
|
Reference in New Issue
Block a user