K 10 svn:author V 8 hselasky K 8 svn:date V 27 2019-10-15T12:08:09.459144Z K 7 svn:log V 381 The two functions ifnet_byindex() and ifnet_byindex_locked() are exactly the same after the network stack was epochified. Merge the two into one function and cleanup all uses of ifnet_byindex_locked(). While at it: - Add branch prediction macros. - Make sure the ifnet pointer is only deferred once, also when code optimisation is disabled. Sponsored by: Mellanox Technologies END