Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/external/bsd/ipf/netinet



Module Name:    src
Committed By:   mrg
Date:           Sat May  7 04:38:09 UTC 2022

Modified Files:
        src/sys/external/bsd/ipf/netinet: ip_nat.h

Log Message:
remove conditional code that defines members of natstat_t.

kernels without INET6 support end up with a different size of
this structure than the userland does and then it errors:

# ipnat -l
70:ioctl(SIOCGNATS) object size mismatch for copying out ipfobj

with these members (which are zeroed at ipf init) enabled, the
size check works.

XXX: pullup-9 (change tested there.)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/ipf/netinet/ip_nat.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index