Re: libiptc: make sockfd a per-handle thing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt wrote:
On Monday 2008-11-10 17:07, Patrick McHardy wrote:

Jan Engelhardt wrote:
commit 976ee346f58ae69ee82fcd750813d2b4fb7379b1
Author: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date:   Thu Nov 6 09:23:06 2008 +0100

libiptc: make sockfd a per-handle thing
No objections in general, but I would like to see an explanation
of the impact the usage-counter removal has on things like
iptables-restore, that initialize the socket multiple times.

None, because iptc_commit closes the socket --
so that iptables-restore opened the socket once for each table
anew anyway. (You can look for this with
`strace -e socket iptables-restore`.)

Thanks for the explanation, applied.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux