1. 13 7月, 2005 36 次提交
  2. 12 7月, 2005 4 次提交
    • S
      [NET]: move config options out to individual protocols · 6a2e9b73
      Sam Ravnborg 提交于
      Move the protocol specific config options out to the specific protocols.
      With this change net/Kconfig now starts to become readable and serve as a
      good basis for further re-structuring.
      
      The menu structure is left almost intact, except that indention is
      fixed in most cases. Most visible are the INET changes where several
      "depends on INET" are replaced with a single ifdef INET / endif pair.
      
      Several new files were created to accomplish this change - they are
      small but serve the purpose that config options are now distributed
      out where they belongs.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6a2e9b73
    • S
      [NET]: add a top-level Networking menu to *config · d5950b43
      Sam Ravnborg 提交于
      Create a new top-level menu named "Networking" thus moving
      net related options and protocol selection way from the drivers
      menu and up on the top-level where they belong.
      
      To implement this all architectures has to source "net/Kconfig" before
      drivers/*/Kconfig in their Kconfig file. This change has been
      implemented for all architectures.
      
      Device drivers for ordinary NIC's are still to be found
      in the Device Drivers section, but Bluetooth, IrDA and ax25
      are located with their corresponding menu entries under the new
      networking menu item.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d5950b43
    • O
      [IPV4]: Prevent oops when printing martian source · 0b7f22aa
      Olaf Kirch 提交于
      In some cases, we may be generating packets with a source address that
      qualifies as martian. This can happen when we're in the middle of setting
      up the network, and netfilter decides to reject a packet with an RST.
      The IPv4 routing code would try to print a warning and oops, because
      locally generated packets do not have a valid skb->mac.raw pointer
      at this point.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0b7f22aa
    • J
      [IPVS]: Add and reorder bh locks after moving to keventd. · af9debd4
      Julian Anastasov 提交于
      An addition to the last ipvs changes that move
      update_defense_level/si_meminfo to keventd:
      
      - ip_vs_random_dropentry now runs in process context and should use _bh
        locks to protect from softirqs
      
      - update_defense_level still needs _bh locks after si_meminfo is called,
        for the same purpose
      Signed-off-by: NJulian Anastasov <ja@ssi.bg>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      af9debd4