pktopt may be null.
Approved by: re (rwatson)
This commit is contained in:
parent
2f234e2e99
commit
289b28bd99
@ -2417,6 +2417,9 @@ ip6_clearpktopts(pktopt, optname)
|
||||
{
|
||||
int needfree;
|
||||
|
||||
if (pktopt == NULL)
|
||||
return;
|
||||
|
||||
needfree = pktopt->needfree;
|
||||
|
||||
if (optname == -1 || optname == IPV6_PKTINFO) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user