aboutsummaryrefslogtreecommitdiff
path: root/lib/zlib_deflate/deflate.c
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2013-05-02 00:43:59 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-07 12:53:37 -0700
commita12c866cc1665ea4800eb6c171f44e14d7df16d9 (patch)
tree04aeee67f76d3c0e3e1f3b12b37eb3e57c938f00 /lib/zlib_deflate/deflate.c
parentb113898f2cfe280aaf3fc0743eb798778dedaee0 (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/zlib_deflate/deflate.c')
0 files changed, 0 insertions, 0 deletions