1. 25 Mar, 2007 19 commits
  2. 24 Mar, 2007 17 commits
  3. 20 Mar, 2007 4 commits
    • Ed Swierk's avatar
      load_module: no BUG if module_subsys uninitialized · de37843b
      Ed Swierk authored
      Invoking load_module() before param_sysfs_init() is called crashes in
      mod_sysfs_setup(), since the kset in module_subsys is not initialized yet.
      
      In my case, net-pf-1 is getting modprobed as a result of hotplug trying to
      create a UNIX socket.  Calls to hotplug begin after the topology_init
      initcall.
      
      Another patch for the same symptom (module_subsys-initialize-earlier.patch)
      moves param_sysfs_init() to the subsys initcalls, but this is still not
      early enough in the boot process in some cases.  In particular,
      topology_init() causes /sbin/hotplug to run, which requests net-pf-1 (the
      UNIX socket protocol) which can be compiled as a module.  Moving
      param_sysfs_init() to the postcore initcalls fixes this particular race,
      but there might well be other cases where a usermodehelper causes a module
      to load earlier still.
      
      The patch makes load_module() return an error rather than crashing the
      kernel if invoked before module_subsys is initialized.
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      de37843b
    • Keith Mannthey's avatar
      i386 bootioremap / kexec fix · 799a734f
      Keith Mannthey authored
      With CONFIG_PHYSICAL_START set to a non default values the i386
      boot_ioremap code calculated its pte index wrong and users of boot_ioremap
      have their areas incorrectly mapped (for me SRAT table not mapped during
      early boot).  This patch removes the addr < BOOT_PTE_PTRS constraint.
      Signed-off-by: default avatarKeith Mannthey <kmannth@us.ibm.com>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      799a734f
    • David S. Miller's avatar
      [SPARC64]: Add missing HPAGE_MASK masks on address parameters. · 521c8225
      David S. Miller authored
      These pte loops all assume the passed in address is HPAGE
      aligned, make sure that is actually true.
      
      [ This also includes other hugepage bug fixes for sparc64
        that occurred between 2.6.16 to 2.6.20 ]
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      521c8225
    • Alexey Dobriyan's avatar
      [NET]: Copy mac_len in skb_clone() as well · f2654bc1
      Alexey Dobriyan authored
      ANK says: "It is rarely used, that's wy it was not noticed.
      But in the places, where it is used, it should be disaster."
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@sw.ru>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      f2654bc1