netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wei Yongjun <yjwei@cn.fujitsu.com>
To: Gerrit Renker <gerrit@erg.abdn.ac.uk>,
	Wei Yongjun <yjwei@cn.fujitsu.com>, Arnaldo <acme@redhat.com>,
	dccp@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH] DCCP: Fix to reset the connection with Reset Code 5	Option Error while receive invalid option
Date: Tue, 13 May 2008 18:52:21 +0800	[thread overview]
Message-ID: <482972E5.8060703@cn.fujitsu.com> (raw)
In-Reply-To: <20080513103218.GA28532@gerrit.erg.abdn.ac.uk>

Hi Gerrit Renker:

I think your should update your patch to avoid compile error:

+#define dccp_feat_print_opt(opt, feat, val, len, mandatory)              \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    dccp_pr_debug("%s(%s, ", dccp_feat_oname(opt), dccp_feat_fname(feat));\
+    dccp_feat_printvals(feat, val, len);                      \
+    dccp_pr_debug_cat(") %s\n", mandatory ? "!" : "");
...snip...
+#else    /* ! CONFIG_IP_DCCP_DEBUG */
+#define dccp_feat_print_opt(opt, feat, fval, mandatory)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The first dccp_feat_print_opt() take 5 parameters when 
CONFIG_IP_DCCP_DEBUG, but the second one just take 4.


Gerrit Renker wrote:
>> Sorry for my stupid patch since I can get the test git tree.
>>
>>     
> There is nothing at all wrong with the patch and I apologise for the
> remark, since it is not your fault not to be aware of the test tree.
>
> That was my fault - in at least one of the 4 cases David Miller copied the
> changeset over to dccp@vger. I am working with Arnaldo de Melo (the DCCP
> maintainer) on a solution for this, to avoid future overlap. It is not
> your issue, so sorry.
>
> For the moment the best is to apply this patch and fix the problem in
> the mainline variant of net/dccp.
>
>
>   
>> But, Is there any other way to get the git tree? I download a patch from 
>> following URL:
>>   
>> http://www.erg.abdn.ac.uk/users/gerrit/dccp/testing_dccp/test-tree/test-tree_2.6.25.diff.gz
>> I used this patch to my linux-2.6.25, there is error happend. and it has 
>> compile error too.
>>     
> This is possible since the snapshots are taken on the day a new release
> comes out. Thanks for the notice, the outdated snapshot will be replaced.
>
>   
>> Is this patch is based on linux-2.6.25? If I want to send a patch, I  
>> must create my patch base on what version of kernel?
>>
>>     
> The test tree tracks the netdev-2.6 kernel and only touches net/dccp. It
> can be pulled from
> 	git://eden-feed.erg.abdn.ac.uk/dccp_exp (subtree `dccp')
>
>
> Gerrit
>
>
>   


-- 
--------------------------------------------------
Wei Yongjun
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
8/F., Civil Defense Building, No.189 Guangzhou Road,
Nanjing, 210029, China
TEL: +86+25-86630523-836
COINS: 79955-836
FAX: +86+25-83317685
MAIL: yjwei@cn.fujitsu.com
--------------------------------------------------
This communication is for use by the intended recipient(s) only and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not an intended recipient of this communication, you are hereby notified that any dissemination, distribution or copying hereof is strictly prohibited.  If you have received this communication in error, please notify me by reply e-mail, permanently delete this communication from your system, and destroy any hard copies you may have printed


  reply	other threads:[~2008-05-13 10:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-13  8:17 [PATCH] DCCP: Fix to reset the connection with Reset Code 5 Option Error while receive invalid option Wei Yongjun
2008-05-13  8:30 ` Gerrit Renker
2008-05-13  9:57   ` Wei Yongjun
2008-05-13 10:32     ` Gerrit Renker
2008-05-13 10:52       ` Wei Yongjun [this message]
2008-05-13 11:04         ` Macro mismatch in test tree Gerrit Renker

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=482972E5.8060703@cn.fujitsu.com \
    --to=yjwei@cn.fujitsu.com \
    --cc=acme@redhat.com \
    --cc=dccp@vger.kernel.org \
    --cc=gerrit@erg.abdn.ac.uk \
    --cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).