Sean Bruno 06b479a6a7 Refactor ip6_getpcbopt() for better locking and memory management
Created GET_PKTOPT_EXT_HDR() and GET_PKTOPT_SOCKADDR() macros to
handle safely fetching options from in6p_outputopts, including
properly dealing with in6p locking and preparing memory for
sooptcopyout().

Changed the function signature of ip6_getpcbopt() to allow the
function to acquire and release locks on in6p as needed.

Submitted by:	Jason Eggleston <jason@eggnet.com>
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D14619
2018-03-22 23:34:48 +00:00
..
2018-03-20 17:58:51 +00:00
2018-03-17 12:59:55 +00:00
2018-02-14 00:12:03 +00:00
2018-03-20 17:58:51 +00:00
2018-02-08 20:09:42 +00:00
2018-03-20 17:58:51 +00:00
2018-03-20 17:58:51 +00:00
2018-03-17 12:59:55 +00:00