Vlad Yasevich wrote:
On Wed, 2006-04-05 at 10:38 -0600, Mark Butler wrote:
The problem in this case is skb1 does not own the skb_shared_info
structure (and hence the frag_list) once it has been cloned.
skb_unshare is the function that should be used to get a modifiable copy.
So, what you are saying is that what sctp_make_reassembled_event() is
doing is really illegal?
Yes - to the extent it doesn't make sure that the header skb has its own
skb_shared_info first, it is doing something that does not work in
general. The problem you are seeing should only arise if one receives
more than one data chunk for the same message in the same packet,
however, and that should be relatively unusual, though certainly not
illegal.
- Mark B.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html