All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: on [ab]use of skb->cb by VLAN code
@ 2007-07-31  0:59 jamal
  2007-07-31  1:33 ` David Miller
  0 siblings, 1 reply; 9+ messages in thread
From: jamal @ 2007-07-31  0:59 UTC (permalink / raw)
  To: David Miller; +Cc: Ben Greear, Patrick McHardy, netdev, Matt Carlson


I was going to forget this, but its been playing in the back of my head
and wont go away....
Matt Carlson recently (while fixing the tg3 driver in my batching
patches) pointed to me that skb->cb[] was being used to pass around vlan
data. 
This seems like a bad use since there can be a lot of things between 
a real hardware driver and something that sets a vlan tag (qdiscs come
to mind).

Creating a new skb field be the reasonable thing to do here but i know
that we are trying to avoid adding new fields. Thoughts?

cheers,
jamal 


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-07-31 17:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31  0:59 RFC: on [ab]use of skb->cb by VLAN code jamal
2007-07-31  1:33 ` David Miller
2007-07-31  2:02   ` jamal
2007-07-31  2:06     ` David Miller
2007-07-31  4:30       ` Ben Greear
2007-07-31  5:18         ` David Miller
2007-07-31  5:33           ` Ben Greear
2007-07-31 16:56             ` Rick Jones
2007-07-31 17:50               ` Roland Dreier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.