Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

net/l2tp/l2tp_ip6.c l2tp_ip6_sendmsg() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 0
BUF_SIZE 0 opt 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &vq->mutex

net/ipv6/ipv6_sockglue.c do_ipv6_setsockopt() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 0 opt->dst0opt 0,4096-ptr_max
PARAM_VALUE 0 opt->dst1opt 0,4096-ptr_max
PARAM_VALUE 0 opt->hopopt 0,4096-ptr_max
PARAM_VALUE 0 opt->refcnt.refs.counter 0-1
PARAM_VALUE 0 opt->srcrt 0,4096-ptr_max
PARAM_VALUE 0 opt->tot_len 0,65-65600
BUF_SIZE 0 opt 65-65600,u64max
BUF_SIZE 0 opt 65-65600,u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 opt->tot_len 66-65600[c]
HALF_LOCKED2 sk

net/ipv6/ipv6_sockglue.c ipv6_set_opt_hdr() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 0 opt->dst0opt 0,4096-ptr_max
PARAM_VALUE 0 opt->dst1opt 0,4096-ptr_max
PARAM_VALUE 0 opt->hopopt 0,4096-ptr_max
PARAM_VALUE 0 opt->refcnt.refs.counter 1
PARAM_VALUE 0 opt->srcrt 0,4096-ptr_max
PARAM_VALUE 0 opt->tot_len 72-10304
BUF_SIZE 0 opt (-1),72-10304
BUF_SIZE 0 opt (-1),72-10304
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 opt->dst0opt->hdrlen 0-255[u]
USER_DATA 0 opt->dst0opt->nexthdr 0-255[u]
USER_DATA 0 opt->dst1opt->hdrlen 0-255[u]
USER_DATA 0 opt->dst1opt->nexthdr 0-255[u]
USER_DATA 0 opt->hopopt->hdrlen 0-255[u]
USER_DATA 0 opt->hopopt->nexthdr 0-255[u]
USER_DATA 0 opt->srcrt->hdrlen 0-255[u]
USER_DATA 0 opt->srcrt->nexthdr 0-255[u]
USER_DATA 0 opt->tot_len 72-10304[c][u]
HALF_LOCKED2 sk

net/ipv6/calipso.c calipso_opt_update() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 0,4096-ptr_max
PARAM_VALUE 0 opt->refcnt.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 opt r txopt_get
NOCHECK_CALL
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sk

net/ipv6/calipso.c calipso_opt_update() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 0 opt->refcnt.refs.counter 0-1
PARAM_VALUE 0 opt->tot_len 0,65-65600
DATA_SOURCE 0 opt r ipv6_update_options
NOCHECK_CALL
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sk

net/ipv6/calipso.c calipso_req_delattr() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 0 opt->dst0opt 0,4096-ptr_max
PARAM_VALUE 0 opt->dst1opt 0,4096-ptr_max
PARAM_VALUE 0 opt->hopopt 0,4096-ptr_max
PARAM_VALUE 0 opt->refcnt.refs.counter 1
PARAM_VALUE 0 opt->srcrt 0,4096-ptr_max
PARAM_VALUE 0 opt->tot_len 72-10304
CAPPED_DATA 0 opt->tot_len 1
NOCHECK_CALL

net/ipv6/calipso.c calipso_req_setattr() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 0 opt->dst0opt 0,4096-ptr_max
PARAM_VALUE 0 opt->dst1opt 0,4096-ptr_max
PARAM_VALUE 0 opt->hopopt 0,4096-ptr_max
PARAM_VALUE 0 opt->refcnt.refs.counter 1
PARAM_VALUE 0 opt->srcrt 0,4096-ptr_max
PARAM_VALUE 0 opt->tot_len 72-10304
CAPPED_DATA 0 opt->tot_len 1
NOCHECK_CALL
HALF_LOCKED2 rcu_read

net/ipv6/calipso.c calipso_sock_delattr() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 0
PARAM_VALUE 0 opt->hopopt 0,4096-ptr_max
DATA_SOURCE 0 opt r txopt_get
NOCHECK_CALL
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sk

net/ipv6/calipso.c calipso_sock_getattr() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 0
PARAM_VALUE 0 opt->hopopt 0,4096-ptr_max
DATA_SOURCE 0 opt r txopt_get
NOCHECK_CALL
HALF_LOCKED2 sk

net/ipv6/calipso.c calipso_sock_setattr() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 0
DATA_SOURCE 0 opt r txopt_get
NOCHECK_CALL
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sk

net/ipv6/raw.c rawv6_sendmsg() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 0
BUF_SIZE 0 opt 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &vq->mutex

net/ipv6/af_inet6.c inet6_cleanup_sock() -> txopt_put()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL