summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-17 17:21:31 -0500
committerDavid S. Miller <davem@davemloft.net>2015-09-17 17:18:37 -0700
commitbe10de0a322ded7701a4dcce4a0ba83b3bbf42e5 (patch)
tree1965f043eb43d71c80228c73a6a2f929c9694db0 /net/ipv6/ip6_output.c
parent0c4b51f0054ce85c0ec578ab818f0631834573eb (diff)
downloadlinux-stable-be10de0a322ded7701a4dcce4a0ba83b3bbf42e5.tar.gz
linux-stable-be10de0a322ded7701a4dcce4a0ba83b3bbf42e5.tar.bz2
linux-stable-be10de0a322ded7701a4dcce4a0ba83b3bbf42e5.zip
netfilter: Add blank lines in callers of netfilter hooks
In code review it was noticed that I had failed to add some blank lines in places where they are customarily used. Taking a second look at the code I have to agree blank lines would be nice so I have added them here. Reported-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r--net/ipv6/ip6_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index d8d68e81d123..291a07be5dfb 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -136,6 +136,7 @@ int ip6_output(struct sock *sk, struct sk_buff *skb)
struct net_device *dev = skb_dst(skb)->dev;
struct inet6_dev *idev = ip6_dst_idev(skb_dst(skb));
struct net *net = dev_net(dev);
+
if (unlikely(idev->cnf.disable_ipv6)) {
IP6_INC_STATS(net, idev, IPSTATS_MIB_OUTDISCARDS);
kfree_skb(skb);