From: Ian McDonald <[EMAIL PROTECTED]>
Date: Fri, 14 Oct 2005 16:21:58 +1300

> How did you get the assembler code - curious so that I can do in the future...

I put the bytes into a "foo.s" file like this:

        .text
        .globl foo
foo:
        .byte  .... /* bytes from Code: part of OOPS dump */

Compile it with "gcc -c -o foo.o foo.s" then look at the output
of "objdump --disassemble foo.o".

Not exactly rocket science, just using the tools :-)

> Can you only clone an skb once or as many times as you like?

You should generally only clone once, and if already cloned then
make a copy.  That's what Arnaldo's code there in the retransmitter
is doing.

One thing you can probably do for this bug is to mark data packets
explicitly somehow, perhaps in the SKB control block DCCP already
uses for other data.  Put some boolean in there, set it true for
data packets.  Then change the test in dccp_transmit_skb() as
appropriate to test the boolean flag instead of "skb_cloned(skb)".
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to