mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Fix ips_out_nosa errors accounting.
MFC after: 1 week Sponsored by: Yandex LLC
This commit is contained in:
parent
2b21d0e883
commit
f3c93842bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274434
@ -358,7 +358,16 @@ ipsec_nextisr(
|
||||
* this packet because it is responsibility for
|
||||
* upper layer to retransmit the packet.
|
||||
*/
|
||||
IPSECSTAT_INC(ips_out_nosa);
|
||||
switch(af) {
|
||||
case AF_INET:
|
||||
IPSECSTAT_INC(ips_out_nosa);
|
||||
break;
|
||||
#ifdef INET6
|
||||
case AF_INET6:
|
||||
IPSEC6STAT_INC(ips_out_nosa);
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
goto bad;
|
||||
}
|
||||
sav = isr->sav;
|
||||
|
Loading…
Reference in New Issue
Block a user