kernel: remove unnecessary head file
Subsystems (4)
PATCH 1/2 kernel: remove unnecessary head file
From: JunweiZhang <[email protected]>
ip_vs.h is not necessary for sysctl_binary.c.
prepare for the next patch to avoid compile issue.
--- kernel/sysctl_binary.c | 1 - 1 file changed, 1 deletion(-)
kernel/sysctl_binary.c +0 -1
@@ -3,7 +3,6 @@#include "../fs/xfs/xfs_sysctl.h" #include <linux/sunrpc/debug.h> #include <linux/string.h> -#include <net/ip_vs.h> #include <linux/syscalls.h> #include <linux/namei.h> #include <linux/mount.h>
Signature · 1 line
1.8.1.2
PATCH 2/2 netns: exclude ipvs from struct net when IPVS disabled
From: JunweiZhang <[email protected]>
no real problem is fixed, just save a few bytes in net_namespace structure.
--- include/net/net_namespace.h | 2 ++ 1 file changed, 2 insertions(+)
include/net/net_namespace.h +2 -0
@@ -115,7 +115,9 @@ struct net {#ifdef CONFIG_XFRM struct netns_xfrm xfrm;#endif +#if IS_ENABLED (CONFIG_IP_VS )struct netns_ipvs *ipvs; +#endif struct sock *diag_nlsk;atomic_t rt_genid; };
Signature · 1 line
1.8.1.2
Hello,
Quoted 8 lines · On Fri, 21 Jun 2013, [email protected] wrote:
From: JunweiZhang <[email protected]>
ip_vs.his not necessary forsysctl_binary.c.prepare for the next patch to avoid compile issue.
Signed-off-by JunweiZhang <[email protected]>Signed-off-by Nicolas Dichtel <[email protected]>
Both patches look good to me:
Please use version descriptor in future, for example:
[PATCHv2 ...] ...
Quoted 18 lines
--- kernel/sysctl_binary.c | 1 - 1 file changed, 1 deletion(-)kernel/sysctl_binary.c +0
-1@@ -3,7 +3,6 @@#include "../fs/xfs/xfs_sysctl.h" #include <linux/sunrpc/debug.h> #include <linux/string.h> -#include <net/ip_vs.h> #include <linux/syscalls.h> #include <linux/namei.h> #include <linux/mount.h> Signature · 1 line
1.8.1.2
Regards
--
Julian Anastasov <[email protected]>
David Miller
maintainerDavid Miller
maintainerThese two patches do not apply to net-next.
PATCH v2 1/2 kernel: remove unnecessary head file
From: JunweiZhang <[email protected]>
ip_vs.h is not necessary for sysctl_binary.c.
prepare for the next patch to avoid compile issue.
---
v2: rebase on net-next
kernel/sysctl_binary.c | 1 - 1 file changed, 1 deletion(-)
kernel/sysctl_binary.c +0 -1
@@ -3,7 +3,6 @@#include "../fs/xfs/xfs_sysctl.h" #include <linux/sunrpc/debug.h> #include <linux/string.h> -#include <net/ip_vs.h> #include <linux/syscalls.h> #include <linux/namei.h> #include <linux/mount.h>
Signature · 1 line
1.8.1.2
PATCH v2 2/2 netns: exclude ipvs from struct net when IPVS disabled
From: JunweiZhang <[email protected]>
no real problem is fixed, just save a few bytes in net_namespace structure.
---
v2: rebase on net-next
include/net/net_namespace.h | 2 ++ 1 file changed, 2 insertions(+)
include/net/net_namespace.h +2 -0
@@ -115,7 +115,9 @@ struct net {#ifdef CONFIG_XFRM struct netns_xfrm xfrm;#endif +#if IS_ENABLED (CONFIG_IP_VS )struct netns_ipvs *ipvs; +#endif struct sock *diag_nlsk;atomic_t rt_genid;atomic_t fnhe_genid;
Signature · 1 line
1.8.1.2
Re: [PATCH v2 net-next 2/2] netns: exclude ipvs from struct net when IPVS disabled
Quoted 8 lines · On Wed, Jun 26, 2013 at 04:40:06PM +0800, [email protected] wrote:
From: JunweiZhang <[email protected]>
no real problem is fixed, just save a few bytes in
net_namespacestructure.Signed-off-by JunweiZhang <[email protected]>Signed-off-by Nicolas Dichtel <[email protected]>Reviewed-by Julian Anastasov <[email protected]>
Thanks, applied to ipvs-next.
Quoted 9 lines · On Wed, Jun 26, 2013 at 04:40:05PM +0800, [email protected] wrote:
From: JunweiZhang <[email protected]>
ip_vs.his not necessary forsysctl_binary.c.prepare for the next patch to avoid compile issue.
Signed-off-by JunweiZhang <[email protected]>Signed-off-by Nicolas Dichtel <[email protected]>Reviewed-by Julian Anastasov <[email protected]>
Thanks, applied to ipvs-next.
Quoted 20 lines
---
v2: rebase on net-nextkernel/sysctl_binary.c | 1 - 1 file changed, 1 deletion(-)kernel/sysctl_binary.c +0
-1@@ -3,7 +3,6 @@#include "../fs/xfs/xfs_sysctl.h" #include <linux/sunrpc/debug.h> #include <linux/string.h> -#include <net/ip_vs.h> #include <linux/syscalls.h> #include <linux/namei.h> #include <linux/mount.h> Signature · 1 line
1.8.1.2
Simon Horman
maintainerQuoted 2 lines · David Miller
These two patches do not apply to net-next.
The reposted versions seem to apply to ipvs-next.
I'll take them through there.