aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_edsc.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2017-03-17 15:40:24 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2017-03-17 15:40:24 +0000
commita0699ebf77fd50aec9504a4f93e303b90af6d1d7 (patch)
tree5d79e099c578ce58c8438c027bd909d433275e31 /sys/net/if_edsc.c
parent08a49957b3f06926744987207d542efa2631394d (diff)
downloadsrc-a0699ebf77fd50aec9504a4f93e303b90af6d1d7.tar.gz
src-a0699ebf77fd50aec9504a4f93e303b90af6d1d7.zip
Implement get_pid_task(), pid_task() and some other PID helper
functions in the LinuxKPI. Add a usage atomic to the task_struct structure to facilitate refcounting the task structure when returned from get_pid_task(). The get_task_struct() and put_task_struct() function is used to manage atomic refcounting. After this change the task_struct should only be freed through put_task_struct(). Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=315457
Diffstat (limited to 'sys/net/if_edsc.c')
0 files changed, 0 insertions, 0 deletions