ifnet: Rework if_ringmap_match
commita64504892148fe2a67b573961d118c68fed75772
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 18 May 2017 06:55:08 +0000 (18 14:55 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 24 May 2017 05:46:12 +0000 (24 13:46 +0800)
treead47b054062e3a951f783226530cca457f5cddde
parent85ccd3136bf34097cf6ba4633f903d954230107f
ifnet: Rework if_ringmap_match

Original version is kinda broken, if ring count != ringmap grid.
This version fixes it and gives more even ring distribution.
sys/net/if.c