1. 26 6月, 2013 1 次提交
  2. 20 6月, 2013 9 次提交
  3. 18 6月, 2013 5 次提交
  4. 13 6月, 2013 2 次提交
  5. 12 6月, 2013 4 次提交
  6. 11 6月, 2013 2 次提交
  7. 08 6月, 2013 1 次提交
  8. 05 6月, 2013 5 次提交
  9. 03 6月, 2013 2 次提交
  10. 01 6月, 2013 2 次提交
  11. 29 5月, 2013 3 次提交
  12. 27 5月, 2013 1 次提交
  13. 26 5月, 2013 2 次提交
    • L
      net: ipv6: Add IPv6 support to the ping socket. · 6d0bfe22
      Lorenzo Colitti 提交于
      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: NLorenzo Colitti <lorenzo@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6d0bfe22
    • Z
      ipvs: change type of netns_ipvs->sysctl_sync_qlen_max · 07995674
      Zhang Yanfei 提交于
      This member of struct netns_ipvs is calculated from nr_free_buffer_pages
      so change its type to unsigned long in case of overflow.  Also, type of
      its related proc var sync_qlen_max and the return type of function
      sysctl_sync_qlen_max() should be changed to unsigned long, too.
      
      Besides, the type of ipvs_master_sync_state->sync_queue_len should be
      changed to unsigned long accordingly.
      Signed-off-by: NZhang Yanfei <zhangyanfei@cn.fujitsu.com>
      Cc: Julian Anastasov <ja@ssi.bg>
      Cc: David Miller <davem@davemloft.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      07995674
  14. 25 5月, 2013 1 次提交
    • J
      cfg80211/mac80211: use cfg80211 wdev mutex in mac80211 · 8d61ffa5
      Johannes Berg 提交于
      Using separate locks in cfg80211 and mac80211 has always
      caused issues, for example having to unlock in places in
      mac80211 to call cfg80211, which even needed a framework
      to make cfg80211 calls after some functions returned etc.
      
      Additionally, I suspect some issues people have reported
      with the cfg80211 state getting confused could be due to
      such issues, when cfg80211 is asking mac80211 to change
      state but mac80211 is in the process of telling cfg80211
      that the state changed (in another way.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8d61ffa5