HomeFreeBSD

netinet6: Remove a set but not used global variable in6_maxmtu

Description

netinet6: Remove a set but not used global variable in6_maxmtu

and its setter in6_setmaxmtu().

This variable was introduced by the KAME projec [1]. It holds the max
IPv6 MTU through all the interfaces, but is never used anywhere.

[1] 82cd038d51e2 KAME netinet6 basic part(no IPsec,no V6 Multicast

Forwarding, no UDP/TCP for IPv6 yet)

Reviewed by: glebius
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D49357

(cherry picked from commit e64fe5ad3a23a9f471ebf11e04e490588913c7af)

Details

Provenance
zleiAuthored on May 21 2025, 10:09 AM
Reviewer
glebius
Differential Revision
D49357: netinet6: Remove set but not used global variable in6_maxmtu
Parents
rG839b9596b35d: axgbe: Fix setting promisc mode
Branches
Unknown
Tags
Unknown