1. 04 Sep, 2010 1 commit
    • Haiyang Zhang's avatar
      staging: hv: Fix missing functions for net_device_ops · b681b588
      Haiyang Zhang authored
      Fix missing functions for net_device_ops.
      It's a bug when porting the drivers from 2.6.27 to 2.6.32. In 2.6.27,
      the default functions for Ethernet, like eth_change_mtu(), were assigned
      by ether_setup(). But in 2.6.32, these function pointers moved to
      net_device_ops structure and no longer be assigned in ether_setup(). So
      we need to set these functions in our driver code. It will ensure the
      MTU won't be set beyond 1500. Otherwise, this can cause an error on the
      server side, because the HyperV linux driver doesn't support jumbo frame
      yet.
      Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
      Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      b681b588
  2. 29 Aug, 2010 3 commits
  3. 28 Aug, 2010 28 commits
  4. 27 Aug, 2010 8 commits