1. 28 May, 2013 7 commits
  2. 27 May, 2013 25 commits
  3. 26 May, 2013 4 commits
  4. 25 May, 2013 4 commits
    • Jingoo Han's avatar
      net: ethernet: use platform_{get,set}_drvdata() · 8513fbd8
      Jingoo Han authored
      
      
      Use the wrapper functions for getting and setting the driver data using
      platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
      so we can directly pass a struct platform_device.
      
      Also, unnecessary dev_set_drvdata() is removed, because the driver core
      clears the driver data to NULL after device_release or on probe failure.
      Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8513fbd8
    • Lorenzo Colitti's avatar
      net: ipv6: Add IPv6 support to the ping socket. · 6d0bfe22
      Lorenzo Colitti authored
      
      
      This adds the ability to send ICMPv6 echo requests without a
      raw socket. The equivalent ability for ICMPv4 was added in
      2011.
      
      Instead of having separate code paths for IPv4 and IPv6, make
      most of the code in net/ipv4/ping.c dual-stack and only add a
      few IPv6-specific bits (like the protocol definition) to a new
      net/ipv6/ping.c. Hopefully this will reduce divergence and/or
      duplication of bugs in the future.
      
      Caveats:
      
      - Setting options via ancillary data (e.g., using IPV6_PKTINFO
        to specify the outgoing interface) is not yet supported.
      - There are no separate security settings for IPv4 and IPv6;
        everything is controlled by /proc/net/ipv4/ping_group_range.
      - The proc interface does not yet display IPv6 ping sockets
        properly.
      
      Tested with a patched copy of ping6 and using raw socket calls.
      Compiles and works with all of CONFIG_IPV6={n,m,y}.
      Signed-off-by: default avatarLorenzo Colitti <lorenzo@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6d0bfe22
    • David S. Miller's avatar
      Merge branch 'qlcnic' · 6e2842f4
      David S. Miller authored
      
      
      Shahed Shaikh says:
      
      ====================
      This patch series includes following changes:
      * Support for spoof check configuration per VF using
        iproute2 tool.
      * Set HW mask for 8300 adapter in INT-x mode to stop generating
        interrupts.
      * Updated IRQ name for 8200 and 8300 Series adapter as per
        format used by other multiqueue drivers.
      * Remove qlcnic_config_npars module parameter.
      * Initialize trans_work and idc_aen_work at VF probe.
      * Convert netsted if-else into switch-case statement.
      * Change in diagnostics routine.
      * Modify reset recovery path in diag mode by providing diagnostics
        routines enough time to unwind before proceeding with reset recovery.
      * Implement GET_LED_STATUS command for 82xx adapter and refactor
        qlcnic_store_beacon() to split 8200 and 8300 specific calls.
      * Some cleanup and log enhancements
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6e2842f4
    • Shahed Shaikh's avatar
      6a531b7b