Merge branch 'master' into upstream
This commit is contained in:
@@ -45,7 +45,6 @@ struct prefix_info {
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <net/if_inet6.h>
|
||||
#include <net/ipv6.h>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef __LINUX_NET_AFUNIX_H
|
||||
#define __LINUX_NET_AFUNIX_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/socket.h>
|
||||
#include <linux/un.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#ifndef _AX25_H
|
||||
#define _AX25_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/ax25.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/timer.h>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef NET_COMPAT_H
|
||||
#define NET_COMPAT_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
struct sock;
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#ifndef _NET_DST_H
|
||||
#define _NET_DST_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <linux/rcupdate.h>
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#ifndef _ICMP_H
|
||||
#define _ICMP_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/icmp.h>
|
||||
|
||||
#include <net/inet_sock.h>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#ifndef _INET6_HASHTABLES_H
|
||||
#define _INET6_HASHTABLES_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
|
||||
#include <linux/in6.h>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#ifndef _INET_HASHTABLES_H
|
||||
#define _INET_HASHTABLES_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/ipv6.h>
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#ifndef _INET_SOCK_H
|
||||
#define _INET_SOCK_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#include <linux/string.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef _INET_TIMEWAIT_SOCK_
|
||||
#define _INET_TIMEWAIT_SOCK_
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#include <linux/list.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#ifndef _IP_H
|
||||
#define _IP_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/ip.h>
|
||||
#include <linux/in.h>
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#ifndef _NET_IP_FIB_H
|
||||
#define _NET_IP_FIB_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <net/flow.h>
|
||||
#include <linux/seq_file.h>
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#ifndef _NET_IP_MP_ALG_H
|
||||
#define _NET_IP_MP_ALG_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/ip_mp_alg.h>
|
||||
#include <net/flow.h>
|
||||
#include <net/route.h>
|
||||
|
||||
@@ -248,7 +248,6 @@ struct ip_vs_daemon_user {
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/list.h> /* for struct list_head */
|
||||
#include <linux/spinlock.h> /* for struct rwlock_t */
|
||||
#include <asm/atomic.h> /* for struct atomic_t */
|
||||
|
||||
@@ -104,7 +104,6 @@ struct frag_hdr {
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <net/sock.h>
|
||||
|
||||
/* sysctls */
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#ifndef NET_IRDA_H
|
||||
#define NET_IRDA_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/skbuff.h> /* struct sk_buff */
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/if.h> /* sa_family_t in <linux/irda.h> */
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#ifndef IRDA_DEVICE_H
|
||||
#define IRDA_DEVICE_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/tty.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#ifndef IRLAP_H
|
||||
#define IRLAP_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/netdevice.h>
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include <asm/param.h> /* for HZ */
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <net/irda/irda.h>
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#ifndef IRMLP_FRAME_H
|
||||
#define IRMLP_FRAME_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/skbuff.h>
|
||||
|
||||
#include <net/irda/discovery.h>
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#ifndef IRDA_QOS_H
|
||||
#define IRDA_QOS_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/skbuff.h>
|
||||
|
||||
#include <net/irda/parameters.h>
|
||||
|
||||
@@ -37,7 +37,6 @@ enum {
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/icmpv6.h>
|
||||
#include <linux/in6.h>
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <linux/netfilter/nf_conntrack_common.h>
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/config.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/atomic.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/system.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/sched.h>
|
||||
|
||||
@@ -218,12 +218,13 @@ extern struct qdisc_rate_table *qdisc_get_rtab(struct tc_ratespec *r,
|
||||
struct rtattr *tab);
|
||||
extern void qdisc_put_rtab(struct qdisc_rate_table *tab);
|
||||
|
||||
extern int qdisc_restart(struct net_device *dev);
|
||||
extern void __qdisc_run(struct net_device *dev);
|
||||
|
||||
static inline void qdisc_run(struct net_device *dev)
|
||||
{
|
||||
while (!netif_queue_stopped(dev) && qdisc_restart(dev) < 0)
|
||||
/* NOTHING */;
|
||||
if (!netif_queue_stopped(dev) &&
|
||||
!test_and_set_bit(__LINK_STATE_QDISC_RUNNING, &dev->state))
|
||||
__qdisc_run(dev);
|
||||
}
|
||||
|
||||
extern int tc_classify(struct sk_buff *skb, struct tcf_proto *tp,
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#ifndef _PROTOCOL_H
|
||||
#define _PROTOCOL_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/in6.h>
|
||||
#if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
|
||||
#include <linux/ipv6.h>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#ifndef _RAW_H
|
||||
#define _RAW_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#include <net/protocol.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef __NET_SCHED_RED_H
|
||||
#define __NET_SCHED_RED_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
#include <net/pkt_sched.h>
|
||||
#include <net/inet_ecn.h>
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#ifndef _ROUTE_H
|
||||
#define _ROUTE_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <net/dst.h>
|
||||
#include <net/inetpeer.h>
|
||||
#include <net/flow.h>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef __NET_SCHED_GENERIC_H
|
||||
#define __NET_SCHED_GENERIC_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/rcupdate.h>
|
||||
|
||||
@@ -63,7 +63,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifdef TEST_FRAME
|
||||
#undef CONFIG_PROC_FS
|
||||
@@ -255,7 +254,7 @@ extern int sctp_debug_flag;
|
||||
#define SCTP_DEBUG_PRINTK_IPADDR(whatever...)
|
||||
#define SCTP_ENABLE_DEBUG
|
||||
#define SCTP_DISABLE_DEBUG
|
||||
#define SCTP_ASSERT(expr, str, func) BUG_ON(!(expr))
|
||||
#define SCTP_ASSERT(expr, str, func)
|
||||
|
||||
#endif /* SCTP_DEBUG */
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#ifndef _SOCK_H
|
||||
#define _SOCK_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/timer.h>
|
||||
#include <linux/cache.h>
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define TCP_DEBUG 1
|
||||
#define FASTRETRANS_DEBUG 1
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/tcp.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
Reference in New Issue
Block a user