[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100308.122413.158901144.davem@davemloft.net>
Date: Mon, 08 Mar 2010 12:24:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kenan@...x.ba
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] socket: Merge getsockname and getpeername into a
single function
From: Kenan Kalajdzic <kenan@...x.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@...x.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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists