[Devel] Re: [PATCH 2/2][INET] Move the reqsk_queue_yank_listen_sk from header
Pavel Emelyanov
xemul at openvz.org
Thu Nov 15 00:12:33 PST 2007
Simon Horman wrote:
> On Wed, Nov 14, 2007 at 09:11:06PM +0300, Pavel Emelyanov wrote:
>> This function is used in the net/core/request_sock.c only.
>> No need in keeping it in the header file.
>
> I feel like I am missing something here, but
> doesn't __reqsk_queue_destroy() in include/net/request_sock.h use
> reqsk_queue_yank_listen_sk()?
It does, but this is a patch number 2. The patch number 1 moved this
__reqsk_queue_destroy() into request_sock.c.
> static inline void __reqsk_queue_destroy(struct request_sock_queue
> *queue)
> {
> kfree(reqsk_queue_yank_listen_sk(queue));
> }
Thanks,
Pavel
More information about the Devel
mailing list