All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Yongjun <yjwei@cn.fujitsu.com>
To: dccp@vger.kernel.org
Subject: Re: [PATCH] DCCP: Fix double free of skb which may cause kernel	panic
Date: Tue, 10 Jun 2008 08:36:14 +0000	[thread overview]
Message-ID: <484E3CFE.8020500@cn.fujitsu.com> (raw)
In-Reply-To: <484E2DC3.1030407@cn.fujitsu.com>

Gerrit Renker wrote:
>> Hi, Gerrit Renker
>>
>> Please ignore this mail, I will sent the patch again after the patch is  
>> witten correctly.
>>
>>     
> Yes indeed - there is a valid point here but it needs a bit more investigation.
>
> There are several paths for the control flow in dccp_v6_ctl_send_reset().
> I am further wondering, since dccp_v4_ctl_send_reset() is similar, if
> you can trigger the same condition in DCCPv4?
>
> Can not test this at the moment, probably not before today.
>   

This is happened when I write test case, and can be test again. The IPv4 
has no problem.
I test this used send REQUEST to endpoint with bad option, and the first 
time nothing happend, the second time kernel panic is happened.
But this problem it is not cause by kree_skb of 
dccp_v6_ctl_send_reset(), it has no problem since it not free skb while 
skb is sent correctly.

> Gerrit
>
>   

      parent reply	other threads:[~2008-06-10  8:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10  7:31 [PATCH] DCCP: Fix double free of skb which may cause kernel panic Wei Yongjun
2008-06-10  7:45 ` Wei Yongjun
2008-06-10  8:01 ` [PATCH] DCCP: Fix double free of skb which may cause kernel Gerrit Renker
2008-06-10  8:36 ` Wei Yongjun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484E3CFE.8020500@cn.fujitsu.com \
    --to=yjwei@cn.fujitsu.com \
    --cc=dccp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.