On 12/1/15 6:58 PM, Andi Kleen wrote:
- skb_iff is either skb->dev->iff or 0. so it could be replaced with a
single bit flag for the 0 case.

... and that one wouldn't work on ingress.

Please explain.

skb->dev is dropped fairly early in the Rx path. skb_iif is needed for example for IP_CMSG_PKTINFO.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to