HomeFreeBSD

This patch fixes two bugs:

Description

This patch fixes two bugs:

  • sctp46, tcp46, and udp46 sockets are displayed as such and not as sctp4 6, tcp4 6, udp4 6. This bug was introduced in http://svnweb.freebsd.org/base?view=revision&revision=187915
  • For SCTP sockets, the the -4 and -6 flags are honoured as much as possible. This means IPv4 sockets are handled correctly, IPv6 sockets are displayed as sctp46, since it is currently not possible to distinguish between sctp6 and sctp46.

Approved by: re (gjb)
MFC after: 1 week

Details

Provenance
tuexenAuthored on
Parents
rS302196: Since VOP_INACTIVE() is not guaranteed to be called, all cleanups
Branches
Unknown
Tags
Unknown