- 20 Dec, 2013 2 commits
-
-
Stephen Hemminger authored
Based on patch by Sergey Popovich <popovich_sergei@mail.ru> This fixes crash when ip-link(8) invoced with command: ip link add dev veth1a type veth peer
-
Stephen Hemminger authored
Use warn_unused_result to enforce checking return value of rtnl_send, and fix where the errors are. Suggested by initial patch from Petr Písař <ppisar@redhat.com>
-
- 06 Dec, 2013 1 commit
-
-
Stephen Hemminger authored
-
- 03 Dec, 2013 2 commits
-
-
Eric Dumazet authored
Display more user friendly rates. 10Mbit is more readable than 10000Kbit Before : class htb 1:2 root prio 0 rate 10000Kbit ceil 10000Kbit ... After: class htb 1:2 root prio 0 rate 10Mbit ceil 10Mbit ... Signed-off-by: Eric Dumazet <edumazet@google.com>
-
Stephen Hemminger authored
-
- 23 Nov, 2013 9 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Sami Kerola authored
As a system admin I occasionally want to be able to check that all interfaces has a name in DNS or /etc/hosts file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-
Andreas Henriksson authored
Example: $ ss state established \( sport = :4060 or sport = :4061 or sport = :4062 or sport = :4063 or sport = :4064 or sport = :4065 or sport = :4066 or sport = :4067 \) > /dev/null Aborted In the example above ssfilter_bytecompile(...) will return (int)136. char l1 = 136; means -120 which will result in a negative number being passed to malloc at misc/ss.c:913. Simply declare l1 and l2 as integers to avoid the char overflow. This is one of the issues originally reported in http://bugs.debian.org/511720 Fix the same problem in other code paths as well (thanks to Eric Dumazet). Reported-by: Andreas Schuldei <andreas@debian.org> Signed-off-by: Andreas Henriksson <andreas@fatal.se> Reviewed-by: Eric Dumazet <edumazet@google.com>
-
Hangbin Liu authored
As both linux kernel and function ipaddrlabel_modify use unsigned int for label. We should also use unsigned int value when print addrlabel in case of misunderstanding. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
-
Sami Kerola authored
As a system admin I occasionally want to be able to check that all interfaces has a name in DNS or /etc/hosts file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-
Andreas Henriksson authored
Example: $ ss state established \( sport = :4060 or sport = :4061 or sport = :4062 or sport = :4063 or sport = :4064 or sport = :4065 or sport = :4066 or sport = :4067 \) > /dev/null Aborted In the example above ssfilter_bytecompile(...) will return (int)136. char l1 = 136; means -120 which will result in a negative number being passed to malloc at misc/ss.c:913. Simply declare l1 and l2 as integers to avoid the char overflow. This is one of the issues originally reported in http://bugs.debian.org/511720 Fix the same problem in other code paths as well (thanks to Eric Dumazet). Reported-by: Andreas Schuldei <andreas@debian.org> Signed-off-by: Andreas Henriksson <andreas@fatal.se> Reviewed-by: Eric Dumazet <edumazet@google.com>
-
Hangbin Liu authored
As both linux kernel and function ipaddrlabel_modify use unsigned int for label. We should also use unsigned int value when print addrlabel in case of misunderstanding. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
-
- 30 Oct, 2013 7 commits
-
-
Daniel Borkmann authored
This is the iproute2 part of the kernel patch "net: sched: add BPF-based traffic classifier". [Will re-submit later again for iproute2 when window for -next submissions opens.] Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Cc: Thomas Graf <tgraf@suug.ch>
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-
Stephen Hemminger authored
Lastest from net-next
-
Stephen Hemminger authored
Conflicts: tc/q_fq.c
-
Nigel Kukard authored
There are two global variables in tc/tc_class.c: __u32 filter_qdisc; __u32 filter_classid; These are not re-initialized for each line received in -batch mode: class show dev eth0 parent 1: classid 1:1 class show dev eth0 parent 1: classid 1:1 Error: duplicate "classid": "1:1" is the second value. This patch fixes the issue by initializing the two globals when we enter print_class(). Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
-
WANG Cong authored
The kernel already supports it, so add the support to iproute2 as well. Cc: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
-
Stephen Hemminger authored
-
- 27 Oct, 2013 2 commits
-
-
Stephen Hemminger authored
Alexey had htb2 as name for version in ancient code.
-
Stephen Hemminger authored
Some qdisc like htb want the parse_qopt to be called even if no options present. Fixes regression caused by: e9e78b0d is the first bad commit commit e9e78b0d Author: Stephen Hemminger <stephen@networkplumber.org> Date: Mon Aug 26 08:41:19 2013 -0700 tc: allow qdisc without options
-
- 09 Oct, 2013 2 commits
-
-
Nicolas Dichtel authored
macvtap and vti were missing. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Christophe Gouault authored
ip xfrm considers that the user-defined mark is "any" as soon as (mark.v & mark.m == 0), which prevents from specifying non-wildcard marks that include the value 0 (typically 0/0xffffffff). Yet, matching exactly mark 0 is useful for instance to separate vti policies from global policies. Always configure the user mark if mark.m != 0. Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com>
-
- 04 Oct, 2013 1 commit
-
-
xeb@mail.ru authored
Update man pages with ip6gre info. Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
-
- 01 Oct, 2013 7 commits
-
-
Stephen Hemminger authored
-
xeb@mail.ru authored
GRE over IPv6 tunnel support. Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
-
Jamal Hadi Salim authored
If you taketh you giveth. I Went the LinuxWay and copied this for m_simple.c and noticed this one typo (I wonder where it came from?;->). Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
Jamal Hadi Salim authored
Simple action is already in the kernel for years now as an example. This complements it with user space control. Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
Stephen Hemminger authored
-
Fan Du authored
This bug is reported from below link: https://bugzilla.redhat.com/show_bug.cgi?id=982761 An simplified command from its original reproducing method in bugzilla: ip xfrm state add src 10.0.0.2 dst 10.0.0.1 proto ah spi 0x12345678 auth md5 12 will cause below spew from gcc. Reported-by: Sohny Thomas <sthomas@linux.vnet.ibm.com>
-
Petr Písař authored
The `bridge monitor file FILENAME' reads dumped netlink messages from a file. But it forgot to close the file after using it. This patch fixes it. Signed-off-by: Petr Písař <ppisar@redhat.com>
-
- 24 Sep, 2013 5 commits
-
-
Stephen Hemminger authored
New json option
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Also add long options
-
Stephen Hemminger authored
-
- 23 Sep, 2013 2 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-