Patrick McHardy wrote:
Laszlo Attila Toth wrote:
nf_tproxy_put_sock(sk);
+
if (wildcard)
sk = NULL;
+ else if (check_transparent && info->transparent &&
+ !transparent)
+ sk = NULL;
Please add a comment what this is doing exactly. And why do the lookup
at all in this case?
We need a socket lookup because without it we can't know the listening
address and the socket's transparent state (socket option). After all of
these pieces of information is gathered, the socket can be put back.
--
Attila
--
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