summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinzhang <xiaolou4617@gmail.com>2017-05-12 13:11:06 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2017-05-29 11:32:29 +0200
commit04b80ceadcae754d053bbb96c5dce0b8641c8fe9 (patch)
treecbd6192935081737babb144c3d503fe67cf724cf
parent417ccf6b5bc3f1a390505d5ef65ec17f10e8b29a (diff)
downloadlinux-stable-04b80ceadcae754d053bbb96c5dce0b8641c8fe9.tar.gz
linux-stable-04b80ceadcae754d053bbb96c5dce0b8641c8fe9.tar.bz2
linux-stable-04b80ceadcae754d053bbb96c5dce0b8641c8fe9.zip
netfilter: ctnetlink: delete extra spaces
This patch cleans up extra spaces. Signed-off-by: linzhang <xiaolou4617@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--net/netfilter/nf_conntrack_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c
index 9799a50bc604..f08604dd1a59 100644
--- a/net/netfilter/nf_conntrack_netlink.c
+++ b/net/netfilter/nf_conntrack_netlink.c
@@ -636,11 +636,11 @@ ctnetlink_conntrack_event(unsigned int events, struct nf_ct_event *item)
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