Lines Matching refs:opt
103 kfree(fl->opt); in fl_free()
118 if (fl->opt && fl->share == IPV6_FL_S_EXCL) { in fl_release()
119 struct ipv6_txoptions *opt = fl->opt; in fl_release() local
120 fl->opt = NULL; in fl_release()
121 kfree(opt); in fl_release()
298 struct ipv6_txoptions *fl_opt = fl->opt; in fl6_merge_options()
378 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); in fl_create()
379 if (!fl->opt) in fl_create()
382 memset(fl->opt, 0, sizeof(*fl->opt)); in fl_create()
383 fl->opt->tot_len = sizeof(*fl->opt) + olen; in fl_create()
385 if (copy_from_user(fl->opt+1, optval+CMSG_ALIGN(sizeof(*freq)), olen)) in fl_create()
389 msg.msg_control = (void *)(fl->opt+1); in fl_create()
392 err = ip6_datagram_send_ctl(net, sk, &msg, &flowi6, fl->opt, in fl_create()
397 if (fl->opt->opt_flen) in fl_create()
399 if (fl->opt->opt_nflen == 0) { in fl_create()
400 kfree(fl->opt); in fl_create()
401 fl->opt = NULL; in fl_create()
797 fl->opt ? fl->opt->opt_nflen : 0); in ip6fl_seq_show()