diff options
author | hiren <hiren@FreeBSD.org> | 2015-05-11 20:26:35 +0000 |
---|---|---|
committer | hiren <hiren@FreeBSD.org> | 2015-05-11 20:26:35 +0000 |
commit | 0a6e6ea993a007ce227d8eaa208490b58c4c485b (patch) | |
tree | 0099439eb18e8e855d4773e890979b031493bb68 /share | |
parent | fa15cb3cc7c5cfe8c9e46afbc3cdf38ecece3025 (diff) | |
download | FreeBSD-src-0a6e6ea993a007ce227d8eaa208490b58c4c485b.zip FreeBSD-src-0a6e6ea993a007ce227d8eaa208490b58c4c485b.tar.gz |
r281955 removed M_FLOWID which could cause problems for old drivers still using
the field. It cannot be removed from stable/10 so restore it.
Change M_HASHTYPE_GET() and M_HASHTYPE_SET() to do the right thing when M_FLOWID
exists.
Also bumping the FreeBSD version to note the fact that M_FLOWID is brought back
in stable/10.
(Just a note that M_FLOWID has been removed from -head.)
Spotted by: np
Suggested by: hans
Reviewed by: hans, tuexen (earlier version)
Helped by: jhb, delphij, gjb
Sponsored by: Limelight Networks
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/netisr.9 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/netisr.9 b/share/man/man9/netisr.9 index a4fa108..808d902 100644 --- a/share/man/man9/netisr.9 +++ b/share/man/man9/netisr.9 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 11, 2015 +.Dd May 11, 2015 .Dt NETISR 9 .Os .Sh NAME @@ -126,13 +126,13 @@ MIB names, so should not contain whitespace. Protocol handler function that will be invoked on each packet received for the protocol. .It Vt netisr_m2flow_t Va nh_m2flow -Optional protocol function to generate a flow ID and set a valid -hashtype for packets that enter the +Optional protocol function to generate a flow ID and set +.Dv M_FLOWID +for packets that do not enter .Nm with -.Dv M_HASHTYPE_GET(m) -equal to -.Dv M_HASHTYPE_NONE . +.Dv M_FLOWID +defined. Will be used only with .Dv NETISR_POLICY_FLOW . .It Vt netisr_m2cpuid_t Va nh_m2cpuid |