1. 25 Apr, 2008 2 commits
    • Mandeep Singh Baines's avatar
      ethtool: EEPROM dump no longer works for tg3 and natsemi · c5835df9
      Mandeep Singh Baines authored
      In the ethtool user-space application, tg3 and natsemi over-ride the
      default implementation of dump_eeprom(). In both tg3_dump_eeprom() and
      natsemi_dump_eeprom(), there is a magic number check which is not
      present in the default implementation.
      
      Commit b131dd5d ("[ETHTOOL]: Add support for large eeproms") snipped
      the code which copied the ethtool_eeprom structure back to
      user-space. tg3 and natsemi are over-writing the magic number field
      and then checking it in user-space. With the ethtool_eeprom copy
      removed, the check is failing.
      
      The fix is simple. Add the ethtool_eeprom copy back.
      Signed-off-by: default avatarMandeep Singh Baines <msb@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c5835df9
    • Brian Haley's avatar
      af_key: Fix af_key.c compiler warning · 2db3e47e
      Brian Haley authored
      net/key/af_key.c: In function ‘pfkey_spddelete’:
      net/key/af_key.c:2359: warning: ‘pol_ctx’ may be used uninitialized in 
      this function
      
      When CONFIG_SECURITY_NETWORK_XFRM isn't set, 
      security_xfrm_policy_alloc() is an inline that doesn't set pol_ctx, so 
      this seemed like the easiest fix short of using *uninitialized_var(pol_ctx).
      Signed-off-by: default avatarBrian Haley <brian.haley@hp.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2db3e47e
  2. 24 Apr, 2008 23 commits
  3. 23 Apr, 2008 5 commits
  4. 22 Apr, 2008 2 commits
  5. 21 Apr, 2008 8 commits