1. 26 7月, 2020 3 次提交
  2. 24 7月, 2020 1 次提交
    • D
      vrf: Handle CONFIG_SYSCTL not set · 1b6687e3
      David Ahern 提交于
      Randy reported compile failure when CONFIG_SYSCTL is not set/enabled:
      
      ERROR: modpost: "sysctl_vals" [drivers/net/vrf.ko] undefined!
      
      Fix by splitting out the sysctl init and cleanup into helpers that
      can be set to do nothing when CONFIG_SYSCTL is disabled. In addition,
      move vrf_strict_mode and vrf_strict_mode_change to above
      vrf_shared_table_handler (code move only) and wrap all of it
      in the ifdef CONFIG_SYSCTL.
      
      Update the strict mode tests to check for the existence of the
      /proc/sys entry.
      
      Fixes: 33306f1a ("vrf: add sysctl parameter for strict mode")
      Cc: Andrea Mayer <andrea.mayer@uniroma2.it>
      Reported-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NDavid Ahern <dsahern@kernel.org>
      Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1b6687e3
  3. 22 7月, 2020 10 次提交
  4. 21 7月, 2020 4 次提交
  5. 20 7月, 2020 1 次提交
    • C
      net: remove compat_sys_{get,set}sockopt · 55db9c0e
      Christoph Hellwig 提交于
      Now that the ->compat_{get,set}sockopt proto_ops methods are gone
      there is no good reason left to keep the compat syscalls separate.
      
      This fixes the odd use of unsigned int for the compat_setsockopt
      optlen and the missing sock_use_custom_sol_socket.
      
      It would also easily allow running the eBPF hooks for the compat
      syscalls, but such a large change in behavior does not belong into
      a consolidation patch like this one.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      55db9c0e
  6. 18 7月, 2020 6 次提交
  7. 17 7月, 2020 5 次提交
  8. 16 7月, 2020 8 次提交
  9. 15 7月, 2020 2 次提交