- 20 Aug, 2012 4 commits
-
-
Pavel Emelyanov authored
Callers of rtnl_talk check errno value for their needs. In particular, the addrs and routes restoring code validly reports success if the EEXISTS is in there. However, the errno value can be sometimes screwed up by the perror call. Thus we should only set it _after_ the message was emitted. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Stephen Hemminger authored
-
Li Wei authored
Use pkg-config to tell us the library path and fallback to search old paths if xtables.pc not exists. Signed-off-by:
Li Wei <lw@cn.fujitsu.com>
-
Li Wei authored
Signed-off-by:
Li Wei <lw@cn.fujitsu.com>
-
- 17 Aug, 2012 2 commits
-
-
Stephen Hemminger authored
fix bad formatting in description of -f option
-
Dan Kenigsberg authored
fix all call which reversed the arg order. Signed-off-by:
Dan Kenigsberg <danken@redhat.com>
-
- 16 Aug, 2012 1 commit
-
-
Chris Webb authored
The bridge command used to be called br but was renamed bridge. Correct the outdated references to the br name in the help messages, together with a typo of '-help' for 'help'. Signed-off-by:
Chris Webb <chris@arachsys.com>
-
- 13 Aug, 2012 4 commits
-
-
Florian Westphal authored
-
Florian Westphal authored
example usage: tc filter add dev $dev parent $id: basic match not ipset'(foobar src)' .. also updates iproute2/ematch_map, else tc complains: Error: Unable to find ematch "ipset" in /etc/iproute2/ematch_map Please assign a unique ID to the ematch kind the suggested entry is: 8 ipset when trying to use this ematch. (text ematch (5) only exists in kernel, a vlan ematch (6) exists neither in kernel nor userspace, but kernel headers define TCF_EM_VLAN == 6).
-
Mike Frysinger authored
`ip a s` no longer shows addresses since 3.4.0 works, but 3.5.0, the simple test case: make clean && make -j -s && ./ip/ip a s lo before that change, i would get: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever but after, i now get: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 seems like the bug was introduced in the middle of that patch: - if (filter.family != AF_PACKET) { + if (filter.family && filter.family != AF_PACKET) { + if (filter.oneline) + no_link = 1; + if (rtnl_wilddump_request(&rth, filter.family, RTM_GETADDR) < 0) { perror("Cannot send dump request"); exit(1); if i revert the change to the if statement there, `ip a s` works for me again.
-
Xose Vazquez Perez authored
Missing space in man8 Makefile and install bridge command with correct name
-
- 01 Aug, 2012 9 commits
-
-
Jiri Pirko authored
-
Eric Dumazet authored
linux-3.6-rc1 supports SK_MEMINFO_BACKLOG with commit d594e987c6f54 (sock_diag: add SK_MEMINFO_BACKLOG) ss command can display it if provided by the kernel. Signed-off-by:
Eric Dumazet <edumazet@google.com> Cc: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Rostislav Lisovy authored
-
Saurabh authored
Support for VTI via rt netlink. Signed-off-by:
Saurabh Mohan <saurabh.mohan@vyatta.com>
-
Saurabh Mohan authored
Configure VTI using 'ip tunnel'
-
Stephen Hemminger authored
These are pre -rc1 version of santised kernel headers
-
Stephen Hemminger authored
-
Stephen Hemminger authored
New tool to allow manipulating forwarding entries and monitoring bridge events.
-
Stephen Hemminger authored
Rearrange Makefile, and ignore derived files
-
- 31 Jul, 2012 1 commit
-
-
Ben Hutchings authored
Signed-off-by:
Ben Hutchings <bhutchings@solarflare.com>
-
- 26 Jul, 2012 1 commit
-
-
Stephen Hemminger authored
IP multipath algorithms support was removed several revisions ago. Remove from usage as well
-
- 13 Jul, 2012 2 commits
-
-
Stephen Hemminger authored
Alternative solution to problem reported by Pravin B Shelar <pshelar@nicira.com> Split large function ipaddr_list_or_flush into components. Fix memory leak of address and link nlmsg info. Avoid fetching address info if only flushing.
-
Li Wei authored
Add value range for 'limit' parameter.
-
- 12 Jul, 2012 1 commit
-
-
Li Wei authored
Since the get_rate() code incorrectly interpreted bare number, the behavior is not the same as man page and comment described. We need to change the man page and comment for compatible with the existing usage by scripts.
-
- 11 Jul, 2012 1 commit
-
-
Li Wei authored
Add the missing 'delete' command for qdisc, class and filter, and correct 'remove' to 'delete'.
-
- 10 Jul, 2012 3 commits
-
-
Li Wei authored
Because we use the high 16 bits of tcm_info to pass prio value to kernel, thus it's range would be [0, 0xffff], without validation in tc when user pass a lager(>65535) priority, the actual priority set in kernel would confuse the user. So, add a validation to ensure prio in the range.
-
Hiroaki SHIMODA authored
On current firstfrag filter, all non fragmented packets are matched. firstfrag should check MF bit. Signed-off-by:
Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
-
Hiroaki SHIMODA authored
The off of icmp_code is not 20 but 21. Also offmask should be 0 unless nexthdr+ is specified. Signed-off-by:
Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
-
- 18 Jun, 2012 2 commits
- 11 Jun, 2012 3 commits
-
-
Vijay Subramanian authored
This makes 2 changes: 1: Add fq_codel to SEE ALSO section in tc manpage. 2: Reorder the SEE ALSO section to make the order alphabetical (suggested by Jan Ceuleers ). Signed-off-by:
Vijay Subramanian <subramanian.vijay@gmail.com>
-
Vijay Subramanian authored
This patch adds the manpage for the FQ_CoDel (Fair Queuing Controlled-Delay) AQM. Signed-off-by:
Vijay Subramanian <subramanian.vijay@gmail.com>
-
Eric Dumazet authored
ip link has quadratic behavior because store_nlmsg() has a head list pointer and search the end of list. Provides a head/tail to cut time. Time with 128000 net devices, to do "ip link show dev xxx" Before: 2m3.594s After: 0m2.830s Signed-off-by:
Eric Dumazet <edumazet@google.com>
-
- 04 Jun, 2012 1 commit
-
-
Jan Ceuleers authored
Reported-by:
Andy Furniss <andyqos@ukfsn.org> Signed-off-by:
Jan Ceuleers <jan.ceuleers@computer.org>
-
- 29 May, 2012 2 commits
-
-
Bjarni Ingi Gislason authored
<groff: tc-drr.8>:67: warning: tab character in unquoted macro argument <groff: tc-drr.8>:69: warning: tab character in unquoted macro argument ********************* Originally filed at: http://bugs.debian.org/674706Signed-off-by:
Andreas Henriksson <andreas@fatal.se>
-
Bjarni Ingi Gislason authored
<groff: tc.8>:51: warning: total indent cannot be negative <groff: tc.8>:57: warning: escape character ignored before `i' ********************* Space at end of line removed General considerations a) Manuals should usually only be left justified. Use ".ad l" as the first regular command. b) Each sentence should begin on a new line. The conventions about the amount of space between sentences are different. This also makes a check on the number of space characters between words easier. c) Separate numbers from units with a (no-break) space. A no-break space can be code 0xA0, "\ " (\<space>), or "\~" (groff). d) Use macros "TS/TE" for tables with more than two columns. Then use '\" t as the first line in the source to tell "man" to use the "tbl" preprocessor. e) Protect last period (full stop) in abbreviations with "\&", if it is or might be (through new formatting of source) at the end of line, if it is also not an end of sentence. ********************* Originally filed at: http://bugs.debian.org/674704Signed-off-by:
Andreas Henriksson <andreas@fatal.se>
-
- 25 May, 2012 1 commit
-
-
Jan Ceuleers authored
Signed-off-by:
Jan Ceuleers <jan.ceuleers@computer.org>
-
- 24 May, 2012 2 commits
-
-
Vijay Subramanian authored
codel can take 'noecn' as an option. This also makes it consistent with the manpage. Signed-off-by:
Vijay Subramanian <subramanian.vijay@gmail.com>
-
Vijay Subramanian authored
This patch adds the manpage for the CoDel (Controlled-Delay) AQM. Signed-off-by:
Vijay Subramanian <subramanian.vijay@gmail.com>
-