1. 26 3月, 2008 1 次提交
  2. 25 3月, 2008 2 次提交
  3. 06 3月, 2008 1 次提交
  4. 01 2月, 2008 2 次提交
  5. 29 1月, 2008 6 次提交
  6. 23 1月, 2008 2 次提交
  7. 07 11月, 2007 1 次提交
  8. 24 10月, 2007 1 次提交
  9. 16 10月, 2007 1 次提交
    • P
      [IPV4]: Uninline netfilter okfns · 861d0486
      Patrick McHardy 提交于
      Now that we don't pass double skb pointers to nf_hook_slow anymore, gcc
      can generate tail calls for some of the netfilter hook okfn invocations,
      so there is no need to inline the functions anymore. This caused huge
      code bloat since we ended up with one inlined version and one out-of-line
      version since we pass the address to nf_hook_slow.
      
      Before:
         text    data     bss     dec     hex filename
      8997385 1016524  524652 10538561         a0ce41 vmlinux
      
      After:
         text    data     bss     dec     hex filename
      8994009 1016524  524652 10535185         a0c111 vmlinux
      -------------------------------------------------------
        -3376
      
      All cases have been verified to generate tail-calls with and without
      netfilter. The okfns in ipmr and xfrm4_input still remain inline because
      gcc can't generate tail-calls for them.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      861d0486
  10. 11 10月, 2007 2 次提交
    • S
      [NET]: Move hardware header operations out of netdevice. · 3b04ddde
      Stephen Hemminger 提交于
      Since hardware header operations are part of the protocol class
      not the device instance, make them into a separate object and
      save memory.
      Signed-off-by: NStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3b04ddde
    • D
      [IPV4]: Add ICMPMsgStats MIB (RFC 4293) · 96793b48
      David L Stevens 提交于
      Background: RFC 4293 deprecates existing individual, named ICMP
      type counters to be replaced with the ICMPMsgStatsTable. This table
      includes entries for both IPv4 and IPv6, and requires counting of all
      ICMP types, whether or not the machine implements the type.
      
      These patches "remove" (but not really) the existing counters, and
      replace them with the ICMPMsgStats tables for v4 and v6.
      It includes the named counters in the /proc places they were, but gets the
      values for them from the new tables. It also counts packets generated
      from raw socket output (e.g., OutEchoes, MLD queries, RA's from
      radvd, etc).
      
      Changes:
      1) create icmpmsg_statistics mib
      2) create icmpv6msg_statistics mib
      3) modify existing counters to use these
      4) modify /proc/net/snmp to add "IcmpMsg" with all ICMP types
              listed by number for easy SNMP parsing
      5) modify /proc/net/snmp printing for "Icmp" to get the named data
              from new counters.
      Signed-off-by: NDavid L Stevens <dlstevens@us.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      96793b48
  11. 14 8月, 2007 1 次提交
  12. 11 7月, 2007 2 次提交
  13. 08 6月, 2007 1 次提交
  14. 30 4月, 2007 1 次提交
  15. 26 4月, 2007 16 次提交