diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-03-15 09:58:31 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-03-15 09:58:31 +0000 |
commit | 038bfe209eeb1f951b217069a584edbcc92d0f2c (patch) | |
tree | cd3527457fd5c0f562c209d613115359c71177a9 /share | |
parent | 9fedeedb8d3b7b5964f22521c2fa9bf23fcfa02d (diff) | |
download | FreeBSD-src-038bfe209eeb1f951b217069a584edbcc92d0f2c.zip FreeBSD-src-038bfe209eeb1f951b217069a584edbcc92d0f2c.tar.gz |
Correct a number of evolved problems with inp_vflag and inp_flags:
certain flags that should have been in inp_flags ended up in inp_vflag,
meaning that they were inconsistently locked, and in one case,
interpreted. Move the following flags from inp_vflag to gaps in the
inp_flags space (and clean up the inp_flags constants to make gaps
more obvious to future takers):
INP_TIMEWAIT
INP_SOCKREF
INP_ONESBCAST
INP_DROPPED
Some aspects of this change have no effect on kernel ABI at all, as these
are UDP/TCP/IP-internal uses; however, netstat and sockstat detect
INP_TIMEWAIT when listing TCP sockets, so any MFC will need to take this
into account.
MFC after: 1 week (or after dependencies are MFC'd)
Reviewed by: bz
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions