1. 23 Apr, 2019 9 commits
    • Paul Gortmaker's avatar
      cgroup: net: remove left over MODULE_LICENSE tag · 9628495d
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      net/Kconfig:config CGROUP_NET_PRIO
      net/Kconfig:    bool "Network priority cgroup"
      
      ...meaning that it currently is not being built as a module by anyone,
      as module support was discontinued in 2014.
      
      We delete the MODULE_LICENSE tag since all that information is already
      contained at the top of the file in the comments.
      
      We don't delete module.h from the includes since it was no longer there
      to begin with.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: "Rosen, Rami" <rami.rosen@intel.com>
      Cc: Daniel Wagner <daniel.wagner@bmw-carit.de>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9628495d
    • Paul Gortmaker's avatar
      net: tc_act: drop include of module.h from tc_ife.h · a130f9b2
      Paul Gortmaker authored
      Ideally, header files under include/linux shouldn't be adding
      includes of other headers, in anticipation of their consumers,
      but just the headers needed for the header itself to pass
      parsing with CPP.
      
      The module.h is particularly bad in this sense, as it itself does
      include a whole bunch of other headers, due to the complexity of
      module support.
      
      Since tc_ife.h is not going into a module struct looking for
      specific fields, we can just let it know that module is a struct,
      just like about 60 other include/linux headers already do.
      
      Cc: Jamal Hadi Salim <jhs@mojatatu.com>
      Cc: Cong Wang <xiyou.wangcong@gmail.com>
      Cc: Jiri Pirko <jiri@resnulli.us>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a130f9b2
    • Paul Gortmaker's avatar
      net: fib: drop include of module.h from fib_notifier.h · 113e6328
      Paul Gortmaker authored
      Ideally, header files under include/linux shouldn't be adding
      includes of other headers, in anticipation of their consumers,
      but just the headers needed for the header itself to pass
      parsing with CPP.
      
      The module.h is particularly bad in this sense, as it itself does
      include a whole bunch of other headers, due to the complexity of
      module support.
      
      Since fib_notifier.h is not going into a module struct looking for
      specific fields, we can just let it know that module is a struct,
      just like about 60 other include/linux headers already do.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      113e6328
    • Paul Gortmaker's avatar
      net: ife: drop include of module.h from net/ife.h · c517796e
      Paul Gortmaker authored
      Ideally, header files under include/linux shouldn't be adding
      includes of other headers, in anticipation of their consumers,
      but just the headers needed for the header itself to pass
      parsing with CPP.
      
      The module.h is particularly bad in this sense, as it itself does
      include a whole bunch of other headers, due to the complexity of
      module support.
      
      There doesn't appear to be anything in net/ife.h that is module
      related, and build coverage doesn't appear to show any other
      files/drivers relying implicitly on getting it from here.
      
      So it appears we are simply free to just remove it in this case.
      
      Cc: Yotam Gigi <yotam.gi@gmail.com>
      Cc: Jamal Hadi Salim <jhs@mojatatu.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c517796e
    • Paul Gortmaker's avatar
      net: psample: drop include of module.h from psample.h · a79eda3a
      Paul Gortmaker authored
      Ideally, header files under include/linux shouldn't be adding
      includes of other headers, in anticipation of their consumers,
      but just the headers needed for the header itself to pass
      parsing with CPP.
      
      The module.h is particularly bad in this sense, as it itself does
      include a whole bunch of other headers, due to the complexity of
      module support.
      
      There doesn't appear to be anything in psample.h that is module
      related, and build coverage doesn't appear to show any other
      files/drivers relying implicitly on getting it from here.
      
      So it appears we are simply free to just remove it in this case.
      
      Cc: Yotam Gigi <yotam.gi@gmail.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a79eda3a
    • David Ahern's avatar
      net: Rename net/nexthop.h net/rtnh.h · 3c618c1d
      David Ahern authored
      The header contains rtnh_ macros so rename the file accordingly.
      Allows a later patch to use the nexthop.h name for the new
      nexthop code.
      Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3c618c1d
    • David Ahern's avatar
      ipv6: Remove fib6_info_nh_lwt · 7e5f4cdb
      David Ahern authored
      fib6_info_nh_lwt is no longer used; remove it.
      Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7e5f4cdb
    • Daniel T. Lee's avatar
      include/net/tcp.h: whitespace cleanup at tcp_v4_check · 0b13c9bb
      Daniel T. Lee authored
      This patch makes trivial whitespace fix to the function
      tcp_v4_check at include/net/tcp.h file.
      
      It has stylistic issue, which is "space required after that ','"
      and it can be confirmed with ./scripts/checkpatch.pl tool.
      
          ERROR: space required after that ',' (ctx:VxV)
          #29: FILE: include/net/tcp.h:1317:
          +	        return csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base);
               	                              ^
      Signed-off-by: default avatarDaniel T. Lee <danieltimlee@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0b13c9bb
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 2843ba2e
      David S. Miller authored
      Alexei Starovoitov says:
      
      ====================
      pull-request: bpf-next 2019-04-22
      
      The following pull-request contains BPF updates for your *net-next* tree.
      
      The main changes are:
      
      1) allow stack/queue helpers from more bpf program types, from Alban.
      
      2) allow parallel verification of root bpf programs, from Alexei.
      
      3) introduce bpf sysctl hook for trusted root cases, from Andrey.
      
      4) recognize var/datasec in btf deduplication, from Andrii.
      
      5) cpumap performance optimizations, from Jesper.
      
      6) verifier prep for alu32 optimization, from Jiong.
      
      7) libbpf xsk cleanup, from Magnus.
      
      8) other various fixes and cleanups.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2843ba2e
  2. 22 Apr, 2019 5 commits
  3. 21 Apr, 2019 7 commits
  4. 20 Apr, 2019 15 commits
  5. 19 Apr, 2019 4 commits