OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][NET-2.6.25] Move sock_valbool_flag to socket.c
Re: [PATCH][NET-2.6.25] Move sock_valbool_flag to socket.c [message #23299 is a reply to message #23291] Thu, 15 November 2007 11:03 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Pavel Emelyanov <xemul@openvz.org>
Date: Thu, 15 Nov 2007 12:43:51 +0300

> The sock_valbool_flag() helper is used in setsockopt to 
> set or reset some flag on the sock. This helper is required
> in the net/socket.c only, so move it there.
> 
> Besides, patch two places in sys_setsockopt() that repeat
> this helper functionality manually.
> 
> Since this is not a bugfix, but a trivial cleanup, I
> prepared this patch against net-2.6.25, but it also
> applies (with a single offset) to the latest net-2.6.
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Applied to net-2.6.25, thanks Pavel.
 
Read Message
Read Message
Previous Topic: [PATCH 1/2][INET] (resend) Fix potential kfree on vmalloc-ed area of request_sock_queue
Next Topic: [RFC][ for -mm] memory controller enhancements for NUMA [0/10] introduction
Goto Forum:
  


Current Time: Sat Sep 06 03:17:50 GMT 2025

Total time taken to generate the page: 0.14598 seconds