1. 03 Aug, 2010 3 commits
    • Florian Mickler's avatar
      e1000e: register pm_qos request on hardware activation · c128ec29
      Florian Mickler authored
      The pm_qos_add_request call has to register the pm_qos request with the pm_qos
      susbsystem before first use of the pm_qos request via
      pm_qos_update_request.
      
      As pm_qos changed to use plists there is no benefit in registering and
      unregistering the pm_qos request on ifup/ifdown and thus we move the
      registering into e1000_open and the unregistering in e1000_close.
      
      This fixes the following warning:
      
      [    1.786060] WARNING: at kernel/pm_qos_params.c:264
      pm_qos_update_request+0x28/0x54()
      [    1.786088] Hardware name: Latitude E6500
      [    1.787045] pm_qos_update_request() called for unknown object
      [    1.787966] Modules linked in:
      [    1.788940] Pid: 1, comm: swapper Not tainted 2.6.35-rc5-mmotm0719 #1
      [    1.790035] Call Trace:
      [    1.791121]  [<ffffffff81037335>] warn_slowpath_common+0x80/0x98
      [    1.792205]  [<ffffffff810373e1>] warn_slowpath_fmt+0x41/0x43
      [    1.793279]  [<ffffffff81057c14>] pm_qos_update_request+0x28/0x54
      [    1.794347]  [<ffffffff8134889e>] e1000_configure+0x421/0x459
      [    1.795393]  [<ffffffff8134afbd>] e1000_open+0xbd/0x37c
      [    1.796436]  [<ffffffff8105743a>] ? raw_notifier_call_chain+0xf/0x11
      [    1.797491]  [<ffffffff8145f948>] __dev_open+0xae/0xe2
      [    1.798547]  [<ffffffff8145f997>] dev_open+0x1b/0x49
      [    1.799612]  [<ffffffff8146e36e>] netpoll_setup+0x84/0x259
      [    1.800685]  [<ffffffff81b5037c>] init_netconsole+0xbc/0x21f
      [    1.801744]  [<ffffffff81b5026c>] ? sir_wq_init+0x0/0x35
      [    1.802793]  [<ffffffff81b502c0>] ? init_netconsole+0x0/0x21f
      [    1.803845]  [<ffffffff810002ff>] do_one_initcall+0x7a/0x12f
      [    1.804885]  [<ffffffff81b2ccae>] kernel_init+0x138/0x1c2
      [    1.805915]  [<ffffffff81003554>] kernel_thread_helper+0x4/0x10
      [    1.806937]  [<ffffffff81590e00>] ? restore_args+0x0/0x30
      [    1.807955]  [<ffffffff81b2cb76>] ? kernel_init+0x0/0x1c2
      [    1.808958]  [<ffffffff81003550>] ? kernel_thread_helper+0x0/0x10
      [    1.809958] ---[ end trace 84b562a00a60539e ]---
      Signed-off-by: default avatarFlorian Mickler <florian@mickler.org>
      Tested-by: default avatarValdis Kletnieks <valdis.kletnieks@vt.edu>
      Tested-by: default avatarJeff Pieper <jeffrey.e.pieper@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c128ec29
    • Changli Gao's avatar
      ip_fragment: fix subtracting PPPOE_SES_HLEN from mtu twice · c893b806
      Changli Gao authored
      6c79bf0f subtracts PPPOE_SES_HLEN from mtu at
      the front of ip_fragment(). So the later subtraction should be removed. The
      MTU of 802.1q is also 1500, so MTU should not be changed.
      Signed-off-by: default avatarChangli Gao <xiaosuo@gmail.com>
      Signed-off-by: default avatarBart De Schuymer <bdschuym@pandora.bo>
      ----
       net/ipv4/ip_output.c |    6 ++----
       1 file changed, 2 insertions(+), 4 deletions(-)
      Signed-off-by: default avatarBart De Schuymer <bdschuym@pandora.bo>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c893b806
    • Josh Hunt's avatar
      net: Add getsockopt support for TCP thin-streams · 3c0fef0b
      Josh Hunt authored
      Initial TCP thin-stream commit did not add getsockopt support for the new
      socket options: TCP_THIN_LINEAR_TIMEOUTS and TCP_THIN_DUPACK. This adds support
      for them.
      Signed-off-by: default avatarJosh Hunt <johunt@akamai.com>
      Tested-by: default avatarAndreas Petlund <apetlund@simula.no>
      Acked-by: default avatarAndreas Petlund <apetlund@simula.no>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3c0fef0b
  2. 02 Aug, 2010 36 commits
  3. 01 Aug, 2010 1 commit