[CRIU] [PATCH v4] net/iptables: check iptables command has wait option

Cyrill Gorcunov gorcunov at gmail.com
Mon Jun 27 12:22:45 PDT 2016


On Sat, Jun 25, 2016 at 01:09:07PM +0300, Pavel Tikhomirov wrote:
>  
> diff --git a/criu/netfilter.c b/criu/netfilter.c
> index 2c3acd6..6d7b340 100644
> --- a/criu/netfilter.c
> +++ b/criu/netfilter.c
> @@ -12,6 +12,7 @@
>  #include "netfilter.h"
>  #include "sockets.h"
>  #include "sk-inet.h"
> +#include "kerndat.h"
>  
>  static char buf[512];
>  
> @@ -20,7 +21,7 @@ static char buf[512];
>   * ANy brave soul to write it using xtables-devel?
>   */
>  
> -static const char *nf_conn_cmd = "%s -w -t filter %s %s --protocol tcp "
> +static const char *nf_conn_cmd = "%s %s -t filter %s %s --protocol tcp "
>  	"--source %s --sport %d --destination %s --dport %d -j DROP";

Huh? How this correlate with exclusive lock idea?


More information about the CRIU mailing list