lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120711.011912.2063611962030549397.davem@davemloft.net>
Date:	Wed, 11 Jul 2012 01:19:12 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	ogerlitz@...lanox.com
Cc:	eric.dumazet@...il.com, roland@...nel.org, netdev@...r.kernel.org,
	ali@...lanox.com, sean.hefty@...el.com, erezsh@...lanox.co.il
Subject: Re: [PATCH net-next 3/9] IB/ipoib: Add support for acting as VIF

From: Or Gerlitz <ogerlitz@...lanox.com>
Date: Wed, 11 Jul 2012 11:05:12 +0300

> On 7/10/2012 3:26 PM, Eric Dumazet wrote:
>> On Tue, 2012-07-10 at 15:16 +0300, Or Gerlitz wrote:
>>> The IPoIB code checks the VIF private flag on the RX path, and
>>> accoriding
>>> to the value of the flag prepares the skb CB data, etc.
>>>
>>
>> skb->cb[] can be destroyed in netif_receive_skb() /
>> __netif_receive_skb()
>>
>> #ifdef CONFIG_NET_CLS_ACT
>> 	skb = handle_ing(skb, &pt_prev, &ret, orig_dev);
>> 	...
>> #endif
> 
> Eric,
> 
> Can you elaborate a little further? we're not sure to see where
> skb->cb[] is touched on the flow
> you pointed to.

handle_ing() goes into the packet scheduler and qdisc layer,
the qdisc layer uses skb->cb[] via struct qdisc_skb_cb.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ