- 23 Nov, 2011 2 commits
-
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Stephen Hemminger authored
-
- 18 Nov, 2011 1 commit
-
-
Stephen Hemminger authored
-
- 16 Nov, 2011 1 commit
-
-
Petr Šabata authored
This patch emulates 'netstat -ul' behavior, showing 'closed' (state 07) UDP sockets when ss is called with '-ul' options. Although dirty, this seems like the least invasive way to fix it and shouldn't really break anything. Signed-off-by: Petr Šabata <contyk@redhat.com>
-
- 02 Nov, 2011 3 commits
-
-
Stephen Hemminger authored
make clean needs to remove all the yacc output files for ematch.
-
Michal Soltys authored
Few minor changes and small additions.
-
Michal Soltys authored
This patch adds detailed documentation for HFSC scheduler. It roughly follows HFSC paper, but tries to not rely too much on math side of things. Post-paper/Linux specific subjects (timer resolution, ul service curve, etc.) are also discussed. I've read it many times over, but it's a lengthy chunk of text - so try to be understanding in case I made some mistakes. tc-hfsc(7): explains algorithm in detail (very long) tc-hfsc(8): explains command line options briefly tc(8): adds references to new man pages Makefile: adds man7 directory to install target q_hfsc.c: minimal help text changes, consistency with tc-hfsc(8) Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 18 Oct, 2011 1 commit
-
-
Mike Frysinger authored
Building iproute2 in parallel might hit the race failure: emp_ematch.l:2:30: fatal error: emp_ematch.yacc.h: No such file or directory make[1]: *** [emp_ematch.lex.o] Error 1 This is because we currently allow the yacc/lex files to generate and compile in parallel. So add a simple dependency to make sure yacc has finished before we attempt to compile the lex output. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 13 Oct, 2011 2 commits
-
-
Stephen Hemminger authored
Alternative fix to problem reported by: Bin Li The issue is came from https://bugzilla.novell.com/show_bug.cgi?id=681952. In any previous version (since suse ... 10.0?), ip addr add always returned the error code 2 in case the ip address is already set on the interface: inet 172.16.2.3/24 brd 172.16.2.255 scope global bond0 RTNETLINK answers: File exists 2 On 11.4, it returns the exit code 254: inet 172.16.1.1/24 brd 172.16.1.255 scope global eth0 RTNETLINK answers: File exists 254 This of course causes ifup to return an error in this quite common case..
-
Thomas Jarosch authored
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
- 10 Oct, 2011 3 commits
-
-
Stephen Hemminger authored
Align header files with sanitized version of headers in kernel.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Fix usage of ".R" which is not man macro.
-
- 07 Oct, 2011 13 commits
-
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Jiri Benc authored
When changing ip6ip6 parameters (ip -6 tun change), ip passes zeroed struct ip6_tnl_parm to the kernel. The kernel then tries to change all of the tunnel parameters to the passed values, including zeroing of local and remote address. This fails (-EEXIST in net/ipv6/ip6_tunnel.c:ip6_tnl_ioctl). For other tunnel types, ip fetches the current parameters first and applies the required changes on top of them. This patch applies the same code as in ip/iptunnel.c to ip/ip6tunnel.c. See http://bugzilla.redhat.com/730627 for the original bug report. Signed-off-by: Jiri Benc <jbenc@redhat.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Sridhar Samudrala authored
Add bridge as a supported type with 'ip link' in usage and all the missing types in 'ip' man page. Also fixed some typos. Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
-
- 06 Oct, 2011 3 commits
-
-
Petr Sabata authored
Signed-off-by: Petr Sabata <contyk@redhat.com>
-
Petr Sabata authored
Signed-off-by: Petr Sabata <contyk@redhat.com>
-
Petr Sabata authored
Signed-off-by: Petr Sabata <contyk@redhat.com>
-
- 31 Aug, 2011 11 commits
-
-
Stephen Hemminger authored
Add some documentation about ip neighbour table parameter command.
-
Dan McGee authored
-
Dan McGee authored
-
Dan McGee authored
remove unused basename logic, avoid dereference of possibly NULL variable
-
Dan McGee authored
would leak a file handle
-
Eric W. Biederman authored
Use O_EXCL so that we only create and mount a new network namespace if there is no chance an existing network namespace is present. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
-
Eric W. Biederman authored
If libc has setns present use that version instead of rolling the syscall wrapper by hand. Dan McGee found the following compile error: gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -c -o ipnetns.o ipnetns.c ipnetns.c:31:12: error: static declaration of ‘setns’ follows non-static declaration /usr/include/bits/sched.h:93:12: note: previous declaration of ‘setns’ was here make[1]: *** [ipnetns.o] Error 1 Reported-by: Dan McGee <dan@archlinux.org> Tested-by: Dan McGee <dan@archlinux.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
-
Stephen Hemminger authored
Update the automatically generated sanitized headers
-
Dan McGee authored
On Arch Linux, we still install the iptables shared libraries in /usr/lib/iptables/, even though the main library is installed to /usr/lib/libxtables.so. This change checks all available locations to correctly find the iptables library directory. Signed-off-by: Dan McGee <dan@archlinux.org>
-
Florian Westphal authored
when specifiying filters without 'protocol' keyword, tc will default to 'protocol all'. Unfortunately, this missed a byte-ordering conversion.
-
Dan McGee authored
This hasn't been updated since 2006.
-