https://github.com/torvalds/linux
Revision fda0fd6c5b722cc48e904e0daafedca275d332af authored by Herbert Xu on 14 October 2005, 06:38:49 UTC, committed by Arnaldo Carvalho de Melo on 20 October 2005, 16:25:28 UTC
David S. Miller <davem@davemloft.net> wrote:
> 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)".

I agree.  In fact we already have that flag, it's called skb->sk.
So here is patch to test that instead of skb_cloned().

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Ian McDonald <imcdnzl@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
1 parent ac9b9c6
History
Tip revision: fda0fd6c5b722cc48e904e0daafedca275d332af authored by Herbert Xu on 14 October 2005, 06:38:49 UTC
[DCCP]: Use skb_set_owner_w in dccp_transmit_skb when skb->sk is NULL
Tip revision: fda0fd6
File Mode Size
Documentation
arch
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 391 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.1 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 59.6 KB
Makefile -rw-r--r-- 42.5 KB
README -rw-r--r-- 14.4 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top