All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Netfilter Development Mailinglist <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH 2/5] Add support for SCTP
Date: Sun, 09 Dec 2007 20:13:55 +0100	[thread overview]
Message-ID: <475C3E73.8080806@trash.net> (raw)
In-Reply-To: <475C31EF.6040007@netfilter.org>

Pablo Neira Ayuso wrote:
> Strange, this patch has been mangled by quilt or something (duplicated
> #ifdef). Surprisingly, the compiler doesn't warn about it. New patch
> attached. Sorry.
>   

> --- net-2.6.git.orig/net/netfilter/nf_conntrack_proto_sctp.c	2007-12-08 21:42:27.000000000 +0100
> +++ net-2.6.git/net/netfilter/nf_conntrack_proto_sctp.c	2007-12-09 19:18:11.000000000 +0100
> @@ -619,6 +619,11 @@ static struct nf_conntrack_l4proto nf_co
> 	.packet 		= sctp_packet,
> 	.new 			= sctp_new,
> 	.me 			= THIS_MODULE,
> +#if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)
> +	.tuple_to_nlattr	= nf_ct_port_tuple_to_nlattr,
> +	.nlattr_to_tuple	= nf_ct_port_nlattr_to_tuple,
> +	.nla_policy		= nf_ct_port_nla_policy,
> +#endif
>  #ifdef CONFIG_SYSCTL
> 	.ctl_table_users	= &sctp_sysctl_table_users,
> 	.ctl_table_header	= &sctp_sysctl_header,



This patch is missing IPv6 support. I've applied it and copied this
chunk to the IPv6 struct since I assume that is what you wanted.


      reply	other threads:[~2007-12-09 19:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-09 18:13 [PATCH 2/5] Add support for SCTP Pablo Neira Ayuso
2007-12-09 18:20 ` Pablo Neira Ayuso
2007-12-09 19:13   ` Patrick McHardy [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=475C3E73.8080806@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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.