Re: [RFC][PATCH 1/3] net: per skb control messages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Herbert Xu
Date: Thursday, July 24, 2008 - 8:01 am

On Thu, Jul 24, 2008 at 04:34:31PM +0300, Octavian Purdila wrote:

No pskb_copy does a full copy on the head portion of the packet
which is where your cmsg is.


But you're freeing the cmsg in skb_release_data which is called
by pskb_expand_head.  This can't possibly work.


Do we need to make it so generic? If we do then can you please
come up with other uses for it too.  For example, find out what
existing fields can be better suited by storing them as a cmsg.
Only then can we design this properly.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 0/3] net: per skb control messages, Octavian Purdila, (Wed Jul 23, 3:01 pm)
[RFC][PATCH 1/3] net: per skb control messages, Octavian Purdila, (Wed Jul 23, 3:01 pm)
[RFC][PATCH 2/3] ip: support for SOL_SKB control messages ..., Octavian Purdila, (Wed Jul 23, 3:01 pm)
[RFC][PATCH 3/3] net: add SKB_SOL control messages, Octavian Purdila, (Wed Jul 23, 3:01 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, Herbert Xu, (Thu Jul 24, 5:46 am)
Re: [RFC][PATCH 1/3] net: per skb control messages, Octavian Purdila, (Thu Jul 24, 6:34 am)
Re: [RFC][PATCH 1/3] net: per skb control messages, Herbert Xu, (Thu Jul 24, 8:01 am)
Re: [RFC][PATCH 1/3] net: per skb control messages, Octavian Purdila, (Thu Jul 24, 9:22 am)
Re: [RFC][PATCH 1/3] net: per skb control messages, David Miller, (Thu Jul 24, 1:28 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, Octavian Purdila, (Thu Jul 24, 2:49 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, David Miller, (Thu Jul 24, 2:56 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, Stephen Hemminger, (Thu Jul 24, 2:58 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, Octavian Purdila, (Thu Jul 24, 3:12 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, David Miller, (Thu Jul 24, 3:17 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, Octavian Purdila, (Thu Jul 24, 3:35 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, Stephen Hemminger, (Thu Jul 24, 4:05 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, Octavian Purdila, (Thu Jul 24, 4:14 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, David Miller, (Thu Jul 24, 4:18 pm)
Re: [RFC][PATCH 1/3] net: per skb control messages, Octavian Purdila, (Thu Jul 24, 4:26 pm)