Lines Matching defs:opt
110 kfree(fl->opt);
120 if (fl_shared_exclusive(fl) || fl->opt)
136 if (fl->opt && fl->share == IPV6_FL_S_EXCL) {
137 struct ipv6_txoptions *opt = fl->opt;
138 fl->opt = NULL;
139 kfree(opt);
319 struct ipv6_txoptions *fl_opt = fl->opt;
400 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL);
401 if (!fl->opt)
404 memset(fl->opt, 0, sizeof(*fl->opt));
405 fl->opt->tot_len = sizeof(*fl->opt) + olen;
407 if (copy_from_sockptr_offset(fl->opt + 1, optval,
412 msg.msg_control = (void *)(fl->opt+1);
415 ipc6.opt = fl->opt;
420 if (fl->opt->opt_flen)
422 if (fl->opt->opt_nflen == 0) {
423 kfree(fl->opt);
424 fl->opt = NULL;
456 if (fl_shared_exclusive(fl) || fl->opt) {
464 kfree(fl->opt);
857 fl->opt ? fl->opt->opt_nflen : 0);