You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [ATM]: fix broken uses of NIPQUAD in net/atm [SCTP]: sctp_unpack_cookie() fix [SCTP]: Fix unintentional change to SCTP_ASSERT when !SCTP_DEBUG [NET]: Prevent multiple qdisc runs [CONNECTOR]: Initialize subsystem earlier. [NETFILTER]: xt_sctp: fix endless loop caused by 0 chunk length
This commit is contained in:
@@ -232,6 +232,7 @@ enum netdev_state_t
|
||||
__LINK_STATE_RX_SCHED,
|
||||
__LINK_STATE_LINKWATCH_PENDING,
|
||||
__LINK_STATE_DORMANT,
|
||||
__LINK_STATE_QDISC_RUNNING,
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -254,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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user