From: David Miller <davem@davemloft.net>
To: kenan@unix.ba
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] socket: Merge getsockname and getpeername into a single function
Date: Mon, 08 Mar 2010 12:24:13 -0800 (PST) [thread overview]
Message-ID: <20100308.122413.158901144.davem@davemloft.net> (raw)
In-Reply-To: <20100304032612.GB9016@home.unix.ba>
From: Kenan Kalajdzic <kenan@unix.ba>
Date: Thu, 4 Mar 2010 04:26:13 +0100
> The code of getsockname is almost identical to getpeername. This patch removes
> duplicate code and merges both functions into a single common function.
>
> Signed-off-by: Kenan Kalajdzic <kenan@unix.ba>
Since you still have to conditionalize things like the security
calls, this doesn't look any cleaner to me than what we have
there already.
I'm not applying this, sorry.
next prev parent reply other threads:[~2010-03-08 20:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 3:26 [PATCH] socket: Merge getsockname and getpeername into a single function Kenan Kalajdzic
2010-03-08 20:24 ` David Miller [this message]
2010-03-09 15:30 ` Kenan Kalajdzic
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=20100308.122413.158901144.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=kenan@unix.ba \
--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).