Stop abusing from struct ifnet presence to determine the packet direction
authorloos <loos@FreeBSD.org>
Tue, 1 Nov 2016 18:42:44 +0000 (18:42 +0000)
committerloos <loos@FreeBSD.org>
Tue, 1 Nov 2016 18:42:44 +0000 (18:42 +0000)
commite3fdc4a1f7053bb6bd318fb393d86c69f6ee9b56
treec0078164d394517865686ad5a7c7fbc2cacdc55e
parent70c24c2dd542a33cee1737cadc87f780fa314ba6
Stop abusing from struct ifnet presence to determine the packet direction
for dummynet, use the correct argument for that, remove the false coment
about the presence of struct ifnet.

Fixes the input match of dummynet l2 rules.

Obtained from: pfSense
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC (Netgate)
sys/netpfil/ipfw/ip_fw_pfil.c