* Why is destructor_arg in shinfo?
@ 2010-06-29 14:09 Jeremy Fitzhardinge
0 siblings, 0 replies; only message in thread
From: Jeremy Fitzhardinge @ 2010-06-29 14:09 UTC (permalink / raw)
To: Johann Baudy; +Cc: NetDev, Ian Campbell, David Miller
Hi,
I'm wondering why "net: TX_RING and packet mmap" (69e3c75) ended up
putting the skb destructor's arg in the skb's shinfo. It seems like an
odd mismatch, since the skb and the shinfo have different lifetimes.
And in principle you might have two skbs with different destructors
sharing a shinfo, and therefore conflict over the use of destructor_arg.
What's the rationale?
Would it make sense to have a shinfo destructor as well?
Thanks,
J
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-29 14:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 14:09 Why is destructor_arg in shinfo? Jeremy Fitzhardinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox