HomeFreeBSD

tcp: update error counter when dropping a packet due to bad source

Description

tcp: update error counter when dropping a packet due to bad source

Use the same counter that ip_input()/ip6_input() use for bad destination
address. For IPv6 this is already heavily abused ip6s_badscope, which
needs to be split into several separate error counters.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D39234

Details

Provenance
glebiusAuthored on Mar 28 2023, 1:37 AM
Reviewer
markj
Differential Revision
D39234: tcp: update error counter when dropping a packet due to bad source
Parents
rGccff2078af42: carp: fix source MAC
Branches
Unknown
Tags
Unknown