diff options
author | Wei Liu <wei.liu2@citrix.com> | 2013-05-02 00:43:59 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-06-19 02:16:44 +0100 |
commit | a1db4d774b1deab5a4f1a4a950c3523298ab4cd6 (patch) | |
tree | 1a5abb739ee69e5890367fc63e76868cbd59fbae /net/sched/sch_qfq.c | |
parent | 9b372fb74740a61a30e2f2e17212e8b3fcee520f (diff) | |
download | kernel_samsung_smdk4412-a1db4d774b1deab5a4f1a4a950c3523298ab4cd6.zip kernel_samsung_smdk4412-a1db4d774b1deab5a4f1a4a950c3523298ab4cd6.tar.gz kernel_samsung_smdk4412-a1db4d774b1deab5a4f1a4a950c3523298ab4cd6.tar.bz2 |
xen-netback: better names for thresholds
commit 376414945d15aa636e65f7e773c1e398b7a21cb9 upstream.
This patch only changes some names to avoid confusion.
In this patch we have:
MAX_SKB_SLOTS_DEFAULT -> FATAL_SKB_SLOTS_DEFAULT
max_skb_slots -> fatal_skb_slots
#define XEN_NETBK_LEGACY_SLOTS_MAX XEN_NETIF_NR_SLOTS_MIN
The fatal_skb_slots is the threshold to determine whether a packet is
malicious.
XEN_NETBK_LEGACY_SLOTS_MAX is the maximum slots a valid packet can have at
this point. It is defined to be XEN_NETIF_NR_SLOTS_MIN because that's
guaranteed to be supported by all backends.
Suggested-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/sched/sch_qfq.c')
0 files changed, 0 insertions, 0 deletions