From: Arnaldo Carvalho de Melo <acme@mandriva.com>
To: dccp@vger.kernel.org
Subject: Re: [PATCH 6/6]: Tidy up unused structures
Date: Thu, 23 Nov 2006 23:30:29 +0000 [thread overview]
Message-ID: <20061123233029.GA3369@mandriva.com> (raw)
In-Reply-To: <200611211545.46843@strip-the-willow>
On Tue, Nov 21, 2006 at 03:45:46PM +0000, Gerrit Renker wrote:
> [CCID 3]: Tidy up unused structures
>
> This removes and cleans up unused variables and structures
> which have become unnecessary following the introduction of
> the EWMA patch to automatically track the CCID 3 receiver/sender
> packet sizes `s'.
>
> Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
> ---
> include/linux/dccp.h | 3 ---
> net/dccp/ccids/ccid3.h | 4 ----
> net/dccp/proto.c | 7 -------
> 3 files changed, 14 deletions(-)
>
> --- a/include/linux/dccp.h
> +++ b/include/linux/dccp.h
> @@ -200,7 +200,6 @@ struct dccp_so_feat {
> };
>
> /* DCCP socket options */
> -#define DCCP_SOCKOPT_PACKET_SIZE 1
Suggestion: just add a comment stating that DCCP_SOCKOPT_PACKET_SIZE is
deprecated and ...
> #define DCCP_SOCKOPT_SERVICE 2
<SNIP>
> --- a/net/dccp/proto.c
> +++ b/net/dccp/proto.c
> @@ -469,9 +469,6 @@ static int do_dccp_setsockopt(struct soc
>
> lock_sock(sk);
> switch (optname) {
> - case DCCP_SOCKOPT_PACKET_SIZE:
> - dp->dccps_packet_size = val;
> - break;
... printk(KERN_WARNING "setsockopt(PACKET_SIZE) is deprecated, "
"fix your app\n");
Its not like there are tons of apps using this interface, but I think
that this is what we have to do in these cases.
- Arnaldo
next prev parent reply other threads:[~2006-11-23 23:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-21 15:45 [PATCH 6/6]: Tidy up unused structures Gerrit Renker
2006-11-23 23:30 ` Arnaldo Carvalho de Melo [this message]
2006-11-24 10:05 ` 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=20061123233029.GA3369@mandriva.com \
--to=acme@mandriva.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.