From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Eppert Subject: libiptc and setsockopt Date: Thu, 12 Dec 2002 16:23:34 -0500 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <20021212212334.GA2841@cs.rose-hulman.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: To: netfilter-devel@lists.netfilter.org Content-Disposition: inline Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org libiptc's iptc_commit(...) commit function appears to be erroring out on rather valid data in the portion that does a setsockopt() on SO_SET_REPLACE. The errno that is set appears to be EAGAIN. Can anyone shed a bit of light on the situation as to why this may happen. My application is (unfortunately) using pthreads and all calls to libiptc functions are wrapped with a mutex to prevent anyone from calling into the library twice as I noticed it is hardly thread safe. Thank you for your time, Aaron Eppert