Skip to content
Snippets Groups Projects
Select Git revision
  • 33306f1aaf82ba7dd072d4d7b97de63b1033cce3
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

vrf.c

  • Andrea Mayer's avatar
    33306f1a
    vrf: add sysctl parameter for strict mode · 33306f1a
    Andrea Mayer authored
    
    Add net.vrf.strict_mode sysctl parameter.
    
    When net.vrf.strict_mode=0 (default) it is possible to associate multiple
    VRF devices to the same table. Conversely, when net.vrf.strict_mode=1 a
    table can be associated to a single VRF device.
    
    When switching from net.vrf.strict_mode=0 to net.vrf.strict_mode=1, a check
    is performed to verify that all tables have at most one VRF associated,
    otherwise the switch is not allowed.
    
    The net.vrf.strict_mode parameter is per network namespace.
    
    Signed-off-by: default avatarAndrea Mayer <andrea.mayer@uniroma2.it>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    33306f1a
    History
    vrf: add sysctl parameter for strict mode
    Andrea Mayer authored
    
    Add net.vrf.strict_mode sysctl parameter.
    
    When net.vrf.strict_mode=0 (default) it is possible to associate multiple
    VRF devices to the same table. Conversely, when net.vrf.strict_mode=1 a
    table can be associated to a single VRF device.
    
    When switching from net.vrf.strict_mode=0 to net.vrf.strict_mode=1, a check
    is performed to verify that all tables have at most one VRF associated,
    otherwise the switch is not allowed.
    
    The net.vrf.strict_mode parameter is per network namespace.
    
    Signed-off-by: default avatarAndrea Mayer <andrea.mayer@uniroma2.it>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>