Displaying 2 results from an estimated 2 matches for "so_get_entri".
Did you mean:
so_get_entries
2004 May 29
0
[Bug 104] Bytes/packets counters sometimes give incorrect values
...gandalf@netfilter.org 2004-05-29 23:45 -------
iptables calls getsockopt() twice, first with SO_GET_INFO which locks the table
in kernel and returns some info and then unlocks the table, among that info is
the size of the table.
Then iptables allocates memory and calls getsockopt() again but with
SO_GET_ENTRIES to get the table, and it passes in the size it got from the first
getsockopt() call. SO_GET_ENTRIES also locks the table, then it calls
get_entries() which compares the passed in size with the ac tual current size of
the table and returns -EINVAL if they don't match.
I checked and that's...
2008 Apr 02
0
[Bug 104] Bytes/packets counters sometimes give incorrect values
...--------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Comment #7 from kaber at trash.net 2008-04-02 14:01 -------
Unfortunately we don't return a unique error code for non-matching size values
passed to SO_GET_ENTRIES. I've queued a patch for 2.6.26 to make it return
EAGAIN and changed userspace to retry in that case.
--
Configure bugmail: ./userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.