[Bug 983] New: mnl_socket_recvfrom hangs in example code

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Sun Oct 26 12:43:23 CET 2014


            Bug ID: 983
           Summary: mnl_socket_recvfrom hangs in example code
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Fedora
            Status: NEW
          Severity: normal
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: porjo38 at yahoo.com.au

Running examples/nft-rule-parse-add.c with the following JSON:


The program outputs the JSON to stdout then hangs. If I hit ctrl+c the program
ends. There is no error message.

 I've inserted printf statements into the program and can see that the hang
happens on the first call to mnl_socket_recvfrom().

I've tested using libmnl and libnftnl from git repo.

You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20141026/80566f7d/attachment.html>

More information about the netfilter-buglog mailing list