[CRIU] [PATCH 1/2] sk-inet: handle the IP_FREEBIND option
Pavel Emelyanov
xemul at parallels.com
Thu Nov 19 04:31:43 PST 2015
> @@ -230,10 +230,19 @@ err:
> return NULL;
> }
>
> +static int dump_ip_opts(int sk, IpOptsEntry *ioe)
> +{
> + int ret = 0;
> +
Should we also set has_freebind to true here?
> + ret |= dump_opt(sk, SOL_IP, IP_FREEBIND, &ioe->freebind);
> +
> + return ret;
> +}
> static int do_dump_one_inet_fd(int lfd, u32 id, const struct fd_parms *p, int family)
> {
> struct inet_sk_desc *sk;
> InetSkEntry ie = INET_SK_ENTRY__INIT;
> + IpOptsEntry ipopts = IP_OPTS_ENTRY__INIT;
> SkOptsEntry skopts = SK_OPTS_ENTRY__INIT;
> int ret = -1, err = -1, proto;
>
More information about the CRIU
mailing list