All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: netfilter: netlink: delete extra spaces
@ 2017-05-12  5:11 linzhang
  2017-05-29  9:32 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: linzhang @ 2017-05-12  5:11 UTC (permalink / raw)
  To: pablo
  Cc: kadlec, fw, davem, netfilter-devel, coreteam, netdev,
	linux-kernel, linzhang

This patch cleans up extra spaces.

Signed-off-by: linzhang <xiaolou4617@gmail.com>
---
 net/netfilter/nf_conntrack_netlink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c
index dcf561b..356e6f0 100644
--- a/net/netfilter/nf_conntrack_netlink.c
+++ b/net/netfilter/nf_conntrack_netlink.c
@@ -634,11 +634,11 @@ static size_t ctnetlink_nlmsg_size(const struct nf_conn *ct)
 	if (events & (1 << IPCT_DESTROY)) {
 		type = IPCTNL_MSG_CT_DELETE;
 		group = NFNLGRP_CONNTRACK_DESTROY;
-	} else  if (events & ((1 << IPCT_NEW) | (1 << IPCT_RELATED))) {
+	} else if (events & ((1 << IPCT_NEW) | (1 << IPCT_RELATED))) {
 		type = IPCTNL_MSG_CT_NEW;
 		flags = NLM_F_CREATE|NLM_F_EXCL;
 		group = NFNLGRP_CONNTRACK_NEW;
-	} else  if (events) {
+	} else if (events) {
 		type = IPCTNL_MSG_CT_NEW;
 		group = NFNLGRP_CONNTRACK_UPDATE;
 	} else
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: netfilter: netlink: delete extra spaces
  2017-05-12  5:11 [PATCH] net: netfilter: netlink: delete extra spaces linzhang
@ 2017-05-29  9:32 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-05-29  9:32 UTC (permalink / raw)
  To: linzhang
  Cc: kadlec, fw, davem, netfilter-devel, coreteam, netdev, linux-kernel

On Fri, May 12, 2017 at 01:11:06PM +0800, linzhang wrote:
> This patch cleans up extra spaces.

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-29  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-12  5:11 [PATCH] net: netfilter: netlink: delete extra spaces linzhang
2017-05-29  9:32 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.