Re: [PATCH][NET-2.6.25] Move sock_valbool_flag to socket.c

2007-11-15 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> 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()

[PATCH][NET-2.6.25] Move sock_valbool_flag to socket.c

2007-11-15 Thread Pavel Emelyanov
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