[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <565E84D5.5070009@cumulusnetworks.com>
Date: Tue, 1 Dec 2015 21:42:45 -0800
From: David Ahern <dsa@...ulusnetworks.com>
To: Andi Kleen <andi@...stfloor.org>,
Daniel Borkmann <daniel@...earbox.net>
Cc: Lorenzo Colitti <lorenzo@...gle.com>,
Matt Bennett <Matt.Bennett@...iedtelesis.co.nz>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Luuk Paulussen <Luuk.Paulussen@...iedtelesis.co.nz>,
davem@...emloft.net
Subject: Re: Increasing skb->mark size
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists