Thread (19 messages) flat view 19 messages, 4 authors, 2012-07-11

Re: [PATCH net-next 3/9] IB/ipoib: Add support for acting as VIF

From: David Miller <davem@davemloft.net>
Date: 2012-07-11 08:19:15

From: Or Gerlitz <redacted>
Date: Wed, 11 Jul 2012 11:05:12 +0300
On 7/10/2012 3:26 PM, Eric Dumazet wrote:
quoted
On Tue, 2012-07-10 at 15:16 +0300, Or Gerlitz wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help