m_pkthdr.rcvif->if_index broken in recent CURRENT

Gleb Smirnoff glebius at freebsd.org
Thu Aug 12 00:50:58 PDT 2004

  I can see this at least in fxp driver: if I capture packets using
ng_ether(4), and check interface name like this

                printf("idx %d, name %s\n",
I get on console:

idx 0, name fxp0

Really fxp's index is 1 (AFAIK if_index must be > 0), I have checked this
using if_nametoindex() from userland.

Totus tuus, Glebius.

More information about the freebsd-current mailing list