[PATCH 4/*] libnfnetlink fixes

Pablo Neira pablo at eurodev.net
Tue Jul 12 22:37:13 CEST 2005


This fixes:

a) Check for bad file descriptor, otherwise this can result in a 
infinite loop during event display cancelation.

b) Return 0 on success. -100 is ugly and we this since we use explicit 
ACK confirmation (NLM_F_ACK) since it's cleaner.

c) nfnl_nest and nfnl_nest_end to build up nested attributes.

d) NLMSG_TAIL introduced in recent rtnetlinkv2 changes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04libnfnetlink.patch
Type: text/x-patch
Size: 2305 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20050712/60efb00f/04libnfnetlink.bin


More information about the netfilter-devel mailing list