linux-stable-rt/net/dccp
Herbert Xu fda0fd6c5b [DCCP]: Use skb_set_owner_w in dccp_transmit_skb when skb->sk is NULL
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>
2005-10-20 14:25:28 -02:00
..
ccids [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
Kconfig
Makefile [DCCP]: Move the ack vector code to net/dccp/ackvec.[ch] 2005-09-18 00:17:51 -07:00
ackvec.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ackvec.h [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ccid.c
ccid.h [CCID]: Check if ccid is NULL in the hc_[tr]x_exit functions 2005-10-10 21:24:20 -07:00
dccp.h [DCCP]: Move the ack vector code to net/dccp/ackvec.[ch] 2005-09-18 00:17:51 -07:00
diag.c
input.c [DCCP]: Transition from PARTOPEN to OPEN when receiving DATA packets 2005-10-10 21:25:00 -07:00
ipv4.c [INET]: speedup inet (tcp/dccp) lookups 2005-10-03 14:13:38 -07:00
minisocks.c [DCCP]: Move the ack vector code to net/dccp/ackvec.[ch] 2005-09-18 00:17:51 -07:00
options.c [DCCP]: Don't use necessarily the same CCID for tx and rx 2005-09-18 00:18:52 -07:00
output.c [DCCP]: Use skb_set_owner_w in dccp_transmit_skb when skb->sk is NULL 2005-10-20 14:25:28 -02:00
proto.c [DCCP]: Introduce CCID getsockopt for the CCIDs 2005-09-18 00:19:32 -07:00
timer.c