All of lore.kernel.org
 help / color / mirror / Atom feed
* Fw: [Bug 198571] New: [af_netlink]missing wakeup while closing af_netlink socket
@ 2018-01-24 15:49 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2018-01-24 15:49 UTC (permalink / raw)
  To: netdev

Forwarding this to netdev because group may have different opinions.
IMHO netlink is a multicast communication mechanism and therefore not it does
not have the close semantics of other connection oriented protocols.
Therefore this is not a bug.

Begin forwarded message:

Date: Wed, 24 Jan 2018 12:20:00 +0000
From: bugzilla-daemon@bugzilla.kernel.org
To: stephen@networkplumber.org
Subject: [Bug 198571] New: [af_netlink]missing wakeup while closing af_netlink socket


https://bugzilla.kernel.org/show_bug.cgi?id=198571

            Bug ID: 198571
           Summary: [af_netlink]missing wakeup while closing af_netlink
                    socket
           Product: Networking
           Version: 2.5
    Kernel Version: 2.6.32
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: stephen@networkplumber.org
          Reporter: yushouhua@sina.com
        Regression: No

In a multithread program, thread A wait for a message from a af_netlink socket
with the interface select first. Then thread B calls close to this socket. In
this situation, thread A would not be woken up forever. This problem may be
caused by missing call to the funtion release_sock to the socket in the funthon
netlink_release. Can anyone fix this problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-24 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-24 15:49 Fw: [Bug 198571] New: [af_netlink]missing wakeup while closing af_netlink socket Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.