Print this page
8903 IPPF paths have bad logic
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: John Levon <levon@movementarian.org>
Reviewed by: Gergő Doma <domag02@gmail.com>

*** 2019,2030 **** * We skip this for loopback packets since we don't do IPQoS * on loopback. */ if (IPP_ENABLED(IPP_LOCAL_IN, ipst) && !(iraflags & IRAF_LOOPBACK) && ! (protocol != IPPROTO_ESP || protocol != IPPROTO_AH || ! protocol != IPPROTO_DSTOPTS || protocol != IPPROTO_ROUTING || protocol != IPPROTO_FRAGMENT)) { /* * Use the interface on which the packet arrived - not where * the IP address is hosted. */ --- 2019,2030 ---- * We skip this for loopback packets since we don't do IPQoS * on loopback. */ if (IPP_ENABLED(IPP_LOCAL_IN, ipst) && !(iraflags & IRAF_LOOPBACK) && ! (protocol != IPPROTO_ESP && protocol != IPPROTO_AH && ! protocol != IPPROTO_DSTOPTS && protocol != IPPROTO_ROUTING && protocol != IPPROTO_FRAGMENT)) { /* * Use the interface on which the packet arrived - not where * the IP address is hosted. */