- 04 Nov, 2015 3 commits
-
-
Phil Sutter authored
-
Phil Sutter authored
-
Phil Sutter authored
-
- 23 Oct, 2015 17 commits
-
-
Stephen Hemminger authored
No blank lines at end of file
-
Stephen Hemminger authored
No blank lines at EOF, or trailing whitespace.
-
Stephen Hemminger authored
Shouldn't have extra blank lines.
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Cc: Jiri Pirko <jiri@resnulli.us> Cc: Patrick McHardy <kaber@trash.net> Cc: Werner Almesberger <werner@almesberger.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Werner Almesberger <werner@almesberger.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Patrick McHardy <kaber@trash.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Add missing spaces around operators to increase readability. Aside from that, make "preference" match a real synonym for "tos" and "dsfield" as it's effect was identical to them. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
This fixes a few syntax errors and changes route filter help text to use classid instead of flowid to be consistent with other filters' help texts. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Daniel Borkmann authored
If get_rt_realms() fails, try to get a possible raw u32 realms value for the u32 RTA_FLOW/FRA_FLOW attribute, as it might be useful to directly configure the hex value itself. And only if that fails, then bail out. The source realm is provided in the upper u16 (mask: 0xffff0000) and the destination realm through the lower u16 part (mask: 0x0000ffff). This can be useful for tc's bpf realm matcher, but also a full hex/mask param can be provided already for matching through iptables' --realm cmdline option, for example. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-
Stephen Hemminger authored
Track upstream
-
Kirill Tkhai authored
This patch adds save and restore commands to "ip rule" similar the same is made in commit f4ff11e3 for "ip route". The feature is useful in checkpoint/restore for container migration, also it may be helpful in some normal situations. Signed-off-by: Kirill Tkhai <ktkhai@odin.com>
-
- 19 Oct, 2015 4 commits
-
-
Roopa Prabhu authored
replace exit with return -2 on rtnl_talk failure Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
-
Wilson Kok authored
This patch adds fflush in fdb and mdb print functions Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
-
Phil Sutter authored
This has been inconsistent since the beginning of Git and seems to be merely a documentation leftover, therefore just remove it from help output and man page. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
When getopt_long encounters an option which has not been registered, it returns '?'. React upon that and call usage() instead of help() so ss returns with a non-zero exit status. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
- 16 Oct, 2015 3 commits
-
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Roopa Prabhu authored
It helps to grep for one string "Deleted" when monitoring all events. Fixes: 6ea3ebaf ("iproute2: inform user when a neighbor is removed") Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Roopa Prabhu authored
This patch introduces two new api's rta_nest and rta_nest_end to nest attributes inside a rta attribute represented by 'struct rtattr' as required to construct a nexthop. Also adds rta_addattr* variants for u8, u16 and u64 as needed to support encapsulation. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> Acked-by: Jiri Benc <jbenc@redhat.com>
-
- 12 Oct, 2015 7 commits
-
-
willy tarreau authored
I've updated Jose's patch to make it slightly simpler (eg: calloc instead of malloc+memset), and ported it to 4.2.0 which requires it as well, and attached it to this e-mail. I can confirm that with this patch 4.1.1 doesn't segfault on me anymore. The commit message should be reworked I guess though everything's in it and I didn't want to modify his description. Can it be merged as-is or should I reword the commit message and reference Jose as the fix reporter ? We should not let this bug live forever. From: "j.ps@openmailbox.org" <j.ps@openmailbox.org> Essentially all that is needed to get rid of this issue is the addition of: memset(u, 0, sizeof(*u)); after: if (!(u = malloc(sizeof(*u)))) break; Also patched some other situations (strcpy and sprintf uses) that potentially produce the same results. Signed-off-by: Jose P Santos <j.ps@openmailbox.org> [ wt: made Jose's patch slightly simpler, all credits to him for the diag ] Signed-off-by: Willy Tarreau <w@1wt.eu>
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
This flag is allowed for devices in passthru mode to prevent forcing the underlying interface into promiscuous mode. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
After eliminating the minor differences in both files which existed solely because features/fixes were applied to only one of them and not the other, the remaining differences were in function naming and error messages. The latter is addressed by using the 'id' field of struct link_util. Fold both files into one in order to share common code and eliminate the chance of having fixes/enhancements applied to only one of them. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Satish Ashok authored
This patch documents bridge and ip -timestamp option Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
-
Wilson Kok authored
This patch adds support to batch bridge commands. Follows ip batch code. Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Acked-by: Christophe Gouault <christophe.gouault@6wind.com>
-
Stephen Hemminger authored
-
- 07 Oct, 2015 4 commits
-
-
Christophe Gouault authored
Support quoting strings with " or ' in an iproute2 batch file. Enables to configure empty crypto keys (for ESP-null) or keys with spaces: xfrm state add src 1.1.1.1 dst 2.2.2.2 proto ah spi 0x1 \ mode tunnel auth hmac(sha1) "r4ezR/@kd6'749f2 6zf$" xfrm state add src 5.5.5.5 dst 2.2.2.2 proto esp spi 0x2 \ mode tunnel enc cipher_null "" Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com>
-
Christoph Schulz authored
Device names that match "help" or a prefix thereof should be allowed anywhere a device name can be used. Note that a suitable keyword ("dev" or "name", the latter for "ip tunnel") has to be used in these cases to resolve ambiguities. Signed-off-by: Christoph Schulz <develop@kristov.de> Reported-by: Leonhard Preis <leonhard@pre.is> Reported-by: Wilhelm Wijkander <lists@0x5e.se>
-
Stephen Hemminger authored
-
Richard Alpe authored
This patch adds man pages for the TIPC tool. There is one main page and one page for each top level sub-command. These pages mainly aims to help a user of the tipc tool. In addition to this they describe a bit about what TIPC is and some of its features as a protocol. Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
-
- 25 Sep, 2015 2 commits
-
-
Stephen Hemminger authored
-
Eric Dumazet authored
linux-3.19 fq packet scheduler got a new attribute, controlling number of 'flows' holding packets not attached to a socket (forwarding usage) kernel commit is 06eb395fa9856b5a87cf7d80baee2a0ed3cdb9d7 ("pkt_sched: fq: better control of DDOS traffic") This patch adds corresponding code to tc command. tc qd replace dev eth0 root fq orphan_mask 511 Signed-off-by: Eric Dumazet <edumazet@google.com>
-