kernel-ark/net
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
..
802
8021q
appletalk
atm [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ax25
bluetooth [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
bridge [NETFILTER]: Fix OOPSes on machines with discontiguous cpu numbering. 2005-10-13 14:41:23 -07:00
core [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
dccp [DCCP]: Use skb_set_owner_w in dccp_transmit_skb when skb->sk is NULL 2005-10-20 14:25:28 -02:00
decnet [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
econet
ethernet
ieee80211 [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ipv4 [TCP]: Ratelimit debugging warning. 2005-10-13 14:42:24 -07:00
ipv6 [NETFILTER]: Fix ip6_table.c build with NETFILTER_DEBUG enabled. 2005-10-15 16:15:38 -07:00
ipx
irda
key [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
lapb
llc [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
netfilter [NETFILTER] nfnetlink: use highest bit of nfa_type to indicate nested TLV 2005-10-10 20:52:19 -07:00
netlink [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
netrom
packet
rose
rxrpc [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
sched [NET]: Disable NET_SCH_CLK_CPU for SMP x86 hosts 2005-10-13 14:41:44 -07:00
sctp [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
sunrpc [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
unix
wanrouter
x25
xfrm [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE