summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-06-22 08:59:24 -0400
committerDavid S. Miller <davem@davemloft.net>2019-06-22 08:59:24 -0400
commit92ad6325cb891bb455487bfe90cc47d18aa6ec37 (patch)
tree433a7ef938fae69789216043f67eff9f9c6b0c68 /include/net
parente0effb5fbd56a8b2b8917611cbf4fcd9aba92b8f (diff)
parentc356dc4b540edd6c02b409dd8cf3208ba2804c38 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor SPDX change conflict. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ax88796.h6
-rw-r--r--include/net/cfg80211-wext.h5
-rw-r--r--include/net/cfg80211.h5
-rw-r--r--include/net/ethoc.h5
-rw-r--r--include/net/ip6_tunnel.h9
-rw-r--r--include/net/kcm.h5
-rw-r--r--include/net/mac80211.h5
-rw-r--r--include/net/netfilter/nf_conntrack_acct.h5
-rw-r--r--include/net/nfc/nci.h14
-rw-r--r--include/net/nfc/nci_core.h14
-rw-r--r--include/net/request_sock.h3
-rw-r--r--include/net/strparser.h5
12 files changed, 19 insertions, 62 deletions
diff --git a/include/net/ax88796.h b/include/net/ax88796.h
index 84b3785d0e66..aa52b2e8ff7b 100644
--- a/include/net/ax88796.h
+++ b/include/net/ax88796.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* include/net/ax88796.h 2/* include/net/ax88796.h
2 * 3 *
3 * Copyright 2005 Simtec Electronics 4 * Copyright 2005 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk> 5 * Ben Dooks <ben@simtec.co.uk>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10*/ 6*/
11 7
12#ifndef __NET_AX88796_PLAT_H 8#ifndef __NET_AX88796_PLAT_H
diff --git a/include/net/cfg80211-wext.h b/include/net/cfg80211-wext.h
index 25baddc4fbed..ad77caf2ffde 100644
--- a/include/net/cfg80211-wext.h
+++ b/include/net/cfg80211-wext.h
@@ -1,13 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef __NET_CFG80211_WEXT_H 2#ifndef __NET_CFG80211_WEXT_H
2#define __NET_CFG80211_WEXT_H 3#define __NET_CFG80211_WEXT_H
3/* 4/*
4 * 802.11 device and configuration interface -- wext handlers 5 * 802.11 device and configuration interface -- wext handlers
5 * 6 *
6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */ 8 */
12 9
13#include <linux/netdevice.h> 10#include <linux/netdevice.h>
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 8677c0c2267f..8419195dfb99 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef __NET_CFG80211_H 2#ifndef __NET_CFG80211_H
2#define __NET_CFG80211_H 3#define __NET_CFG80211_H
3/* 4/*
@@ -7,10 +8,6 @@
7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright 2015-2017 Intel Deutschland GmbH 9 * Copyright 2015-2017 Intel Deutschland GmbH
9 * Copyright (C) 2018-2019 Intel Corporation 10 * Copyright (C) 2018-2019 Intel Corporation
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */ 11 */
15 12
16#include <linux/netdevice.h> 13#include <linux/netdevice.h>
diff --git a/include/net/ethoc.h b/include/net/ethoc.h
index 29ba069a1d93..78519ed42ab4 100644
--- a/include/net/ethoc.h
+++ b/include/net/ethoc.h
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/include/net/ethoc.h 3 * linux/include/net/ethoc.h
3 * 4 *
4 * Copyright (C) 2008-2009 Avionic Design GmbH 5 * Copyright (C) 2008-2009 Avionic Design GmbH
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * Written by Thierry Reding <thierry.reding@avionic-design.de> 7 * Written by Thierry Reding <thierry.reding@avionic-design.de>
11 */ 8 */
12 9
diff --git a/include/net/ip6_tunnel.h b/include/net/ip6_tunnel.h
index 69b4bcf880c9..028eaea1c854 100644
--- a/include/net/ip6_tunnel.h
+++ b/include/net/ip6_tunnel.h
@@ -158,9 +158,12 @@ static inline void ip6tunnel_xmit(struct sock *sk, struct sk_buff *skb,
158 memset(skb->cb, 0, sizeof(struct inet6_skb_parm)); 158 memset(skb->cb, 0, sizeof(struct inet6_skb_parm));
159 pkt_len = skb->len - skb_inner_network_offset(skb); 159 pkt_len = skb->len - skb_inner_network_offset(skb);
160 err = ip6_local_out(dev_net(skb_dst(skb)->dev), sk, skb); 160 err = ip6_local_out(dev_net(skb_dst(skb)->dev), sk, skb);
161 if (unlikely(net_xmit_eval(err))) 161
162 pkt_len = -1; 162 if (dev) {
163 iptunnel_xmit_stats(dev, pkt_len); 163 if (unlikely(net_xmit_eval(err)))
164 pkt_len = -1;
165 iptunnel_xmit_stats(dev, pkt_len);
166 }
164} 167}
165#endif 168#endif
166#endif 169#endif
diff --git a/include/net/kcm.h b/include/net/kcm.h
index 2a8965819db0..2d704f8f4905 100644
--- a/include/net/kcm.h
+++ b/include/net/kcm.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Kernel Connection Multiplexor 3 * Kernel Connection Multiplexor
3 * 4 *
4 * Copyright (c) 2016 Tom Herbert <tom@herbertland.com> 5 * Copyright (c) 2016 Tom Herbert <tom@herbertland.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2
8 * as published by the Free Software Foundation.
9 */ 6 */
10 7
11#ifndef __NET_KCM_H_ 8#ifndef __NET_KCM_H_
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 4411120e5a9a..d26da013f7c0 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * mac80211 <-> driver interface 3 * mac80211 <-> driver interface
3 * 4 *
@@ -7,10 +8,6 @@
7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH 9 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
9 * Copyright (C) 2018 - 2019 Intel Corporation 10 * Copyright (C) 2018 - 2019 Intel Corporation
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */ 11 */
15 12
16#ifndef MAC80211_H 13#ifndef MAC80211_H
diff --git a/include/net/netfilter/nf_conntrack_acct.h b/include/net/netfilter/nf_conntrack_acct.h
index bc6745d3010e..1fee733c18a7 100644
--- a/include/net/netfilter/nf_conntrack_acct.h
+++ b/include/net/netfilter/nf_conntrack_acct.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * (C) 2008 Krzysztof Piotr Oledzki <ole@ans.pl> 3 * (C) 2008 Krzysztof Piotr Oledzki <ole@ans.pl>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */ 4 */
8 5
9#ifndef _NF_CONNTRACK_ACCT_H 6#ifndef _NF_CONNTRACK_ACCT_H
diff --git a/include/net/nfc/nci.h b/include/net/nfc/nci.h
index 707e3ab816c2..6ab5a83f597c 100644
--- a/include/net/nfc/nci.h
+++ b/include/net/nfc/nci.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * The NFC Controller Interface is the communication protocol between an 3 * The NFC Controller Interface is the communication protocol between an
3 * NFC Controller (NFCC) and a Device Host (DH). 4 * NFC Controller (NFCC) and a Device Host (DH).
@@ -10,19 +11,6 @@
10 * Acknowledgements: 11 * Acknowledgements:
11 * This file is based on hci.h, which was written 12 * This file is based on hci.h, which was written
12 * by Maxim Krasnyansky. 13 * by Maxim Krasnyansky.
13 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2
16 * as published by the Free Software Foundation
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, see <http://www.gnu.org/licenses/>.
25 *
26 */ 14 */
27 15
28#ifndef __NCI_H 16#ifndef __NCI_H
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h
index df5c69db68af..43c9c5d2bedb 100644
--- a/include/net/nfc/nci_core.h
+++ b/include/net/nfc/nci_core.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * The NFC Controller Interface is the communication protocol between an 3 * The NFC Controller Interface is the communication protocol between an
3 * NFC Controller (NFCC) and a Device Host (DH). 4 * NFC Controller (NFCC) and a Device Host (DH).
@@ -11,19 +12,6 @@
11 * Acknowledgements: 12 * Acknowledgements:
12 * This file is based on hci_core.h, which was written 13 * This file is based on hci_core.h, which was written
13 * by Maxim Krasnyansky. 14 * by Maxim Krasnyansky.
14 *
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License version 2
17 * as published by the Free Software Foundation
18 *
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, see <http://www.gnu.org/licenses/>.
26 *
27 */ 15 */
28 16
29#ifndef __NCI_CORE_H 17#ifndef __NCI_CORE_H
diff --git a/include/net/request_sock.h b/include/net/request_sock.h
index b3ea21f2732e..fd178d58fa84 100644
--- a/include/net/request_sock.h
+++ b/include/net/request_sock.h
@@ -97,6 +97,9 @@ reqsk_alloc(const struct request_sock_ops *ops, struct sock *sk_listener,
97 sk_node_init(&req_to_sk(req)->sk_node); 97 sk_node_init(&req_to_sk(req)->sk_node);
98 sk_tx_queue_clear(req_to_sk(req)); 98 sk_tx_queue_clear(req_to_sk(req));
99 req->saved_syn = NULL; 99 req->saved_syn = NULL;
100 req->num_timeout = 0;
101 req->num_retrans = 0;
102 req->sk = NULL;
100 refcount_set(&req->rsk_refcnt, 0); 103 refcount_set(&req->rsk_refcnt, 0);
101 104
102 return req; 105 return req;
diff --git a/include/net/strparser.h b/include/net/strparser.h
index f177c87ce38b..1d20b98493a1 100644
--- a/include/net/strparser.h
+++ b/include/net/strparser.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Stream Parser 3 * Stream Parser
3 * 4 *
4 * Copyright (c) 2016 Tom Herbert <tom@herbertland.com> 5 * Copyright (c) 2016 Tom Herbert <tom@herbertland.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2
8 * as published by the Free Software Foundation.
9 */ 6 */
10 7
11#ifndef __NET_STRPARSER_H_ 8#ifndef __NET_STRPARSER_H_