1. 13 May, 2016 10 commits
  2. 06 May, 2016 2 commits
    • Jiri Benc's avatar
      ip link gre: print only relevant info in external mode · 7c337e2c
      Jiri Benc authored
      Display only attributes that are relevant when a GRE interface is in
      'external' mode instead of the default values (which are ignored by the
      kernel even if passed back).
      
      Fixes: 926b39e1 ("gre: add support for collect metadata flag")
      Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
      7c337e2c
    • Jiri Benc's avatar
      ip link gre: create interfaces in external mode correctly · df217d5d
      Jiri Benc authored
      For GRE interfaces in 'external' mode, the kernel ignores all manual
      settings like remote IP address or TTL. However, for some of those
      attributes, kernel checks their value and does not allow them to be zero
      (even though they're ignored later).
      
      Currently, 'ip link' always includes all attributes in the netlink message.
      This leads to problem with creating interfaces in 'external' mode. For
      example, this command does not work:
      
      ip link add gre1 type gretap external
      
      and needs a bogus remote IP address to be specified, as the kernel enforces
      remote IP address to be either not present, or not null.
      
      Ignore the parameters that do not make sense in 'external' mode.
      Unfortunately, we cannot error out, as there may be existing deployments
      that workarounded the bug by specifying bogus values.
      
      Fixes: 926b39e1 ("gre: add support for collect metadata flag")
      Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
      df217d5d
  3. 03 May, 2016 1 commit
    • Quentin Monnet's avatar
      tc: add bash-completion function · 27d44f3a
      Quentin Monnet authored
      Add function for command completion for tc in bash, and update Makefile
      to install it under /usr/share/bash-completion/completions/.
      
      Inside iproute2 repository, the completion code is in a new
      `bash-completion` toplevel directory.
      
      v2: Remove `if` statement in Makefile: do not try to install in
          /etc/bash_completion.d/ if /usr/share/bash-completion/completions/
          is not found; instead, the user can override the installation path
          with the specific environment variable.
      Signed-off-by: default avatarQuentin Monnet <quentin.monnet@6wind.com>
      27d44f3a
  4. 25 Apr, 2016 1 commit
  5. 22 Apr, 2016 2 commits
  6. 19 Apr, 2016 17 commits
  7. 11 Apr, 2016 7 commits