#compdef flowtop # # flowtop.zsh -- zsh completion function for flowtop # # Copyright (C) 2013 Hideo Hattori # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. typeset -A opt_args _arguments -s -S \ "(-4 --ipv4)"{-4,--ipv4}"[Show only IPv4 flows (default)]" \ "(-6 --ipv6)"{-6,--ipv6}"[Show only IPv6 flows (default)]" \ "(-T --tcp)"{-T,--tcp}"[Show only TCP flows (default)]" \ "(-U --udp)"{-U,--udp}"[Show only UDP flows]" \ "(-D --dccp)"{-D,--dccp}"[Show only DCCP flows]" \ "(-I --icmp)"{-I,--icmp}"[Show only ICMP/ICMPv6 flows]" \ "(-S --sctp)"{-S,--sctp}"[Show only SCTP flows]" \ "(-s --show-src)"{-s,--show-src}"[Also show source, not only dest]" \ "(-u --update)"{-u,--update}"[Update GeoIP databases]" \ {-v,--version}"[Print version]:" \ {-h,--help}"[Print this help]:" \ "*::args:_gnu_generic" alue='emaclite-cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-06-03 11:39:35 -0700
committerDoug Ledford <dledford@redhat.com>2016-06-06 19:32:58 -0400
commit249f06561fc333581e48e6d388a56e3d100d23b6 (patch)
tree12c7be8d264f83ef47e3f9e1ec5926a120fd7eb2
parentca920f5b67f1b798a1f86c675ea441b295bf8464 (diff)
IB/srp: Always initialize use_fast_reg and use_fmr
Avoid that mapping fails due to use_fast_reg != 0 or use_fmr != 0 if both member variables should be zero (if never_register == 1 or if neither FMR nor FR is supported). Remove an initialization that became superfluous due to changing a kmalloc() into a kzalloc() call. Fixes: 509c5f33f4f6 ("IB/srp: Prevent mapping failures") Cc: Sagi Grimberg <sai@grimberg.m> Cc: Christoph Hellwig <hch@lst.de> Cc: Laurence Oberman <loberman@redhat.com> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Doug Ledford <dledford@redhat.com>