1. 21 Dec, 2013 4 commits
  2. 20 Dec, 2013 26 commits
  3. 19 Dec, 2013 10 commits
    • Rashika Kheria's avatar
      drivers: net: Mark functions as static in debug.c · c5036813
      Rashika Kheria authored
      This patch marks the function il_clear_traffic_stats() in debug.c as
      static because they are not used outside this file.
      
      Thus, it also removes the following warnings in
      wireless/iwlegacy/debug.c:
      
      drivers/net/wireless/iwlegacy/debug.c:35:1: warning: no previous prototype for ‘il_clear_traffic_stats’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c5036813
    • Rashika Kheria's avatar
      drivers: net: Mark functions as static in 4965-debug.c · 44468f5b
      Rashika Kheria authored
      This patch marks the function il4965_ucode_rx_stats_read(),
      il4965_ucode_tx_stats_read() and il4965_ucode_general_stats_read() in
      4965-debug.c as static because they are not used outside this file.
      
      Thus, it also removes the following warnings in
      wireless/iwlegacy/4965-debug.c:
      
      drivers/net/wireless/iwlegacy/4965-debug.c:59:1: warning: no previous prototype for ‘il4965_ucode_rx_stats_read’ [-Wmissing-prototypes]
      drivers/net/wireless/iwlegacy/4965-debug.c:471:1: warning: no previous prototype for ‘il4965_ucode_tx_stats_read’ [-Wmissing-prototypes]
      drivers/net/wireless/iwlegacy/4965-debug.c:637:1: warning: no previous prototype for ‘il4965_ucode_general_stats_read’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      44468f5b
    • Rashika Kheria's avatar
      drivers: net: Mark functions as static in 3945-debug.c · 9b0124d8
      Rashika Kheria authored
      This patch marks the function il3945_ucode_rx_stats_read(),
      il3945_ucode_tx_stats_read() and il3945_ucode_general_stats_read() in
      3945-debug.c as static because they are not used outside this file.
      
      Thus, it also removes the following warnings in
      wireless/iwlegacy/3945-debug.c:
      
      drivers/net/wireless/iwlegacy/3945-debug.c:52:1: warning: no previous prototype for ‘il3945_ucode_rx_stats_read’ [-Wmissing-prototypes]
      drivers/net/wireless/iwlegacy/3945-debug.c:317:1: warning: no previous prototype for ‘il3945_ucode_tx_stats_read’ [-Wmissing-prototypes]
      drivers/net/wireless/iwlegacy/3945-debug.c:407:1: warning: no previous prototype for ‘il3945_ucode_general_stats_read’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9b0124d8
    • Rashika Kheria's avatar
      drivers: net: Include new header file in sbni.c · b6835f9c
      Rashika Kheria authored
      Create a new header file include/net/Space.h which contains
      prototype declaration of sbni_probe().
      
      Include the new header file in drivers/net/Space.c and
      drivers/net/wan/sbni.c because they use this function.
      
      This eliminates the following warning in wan/sbni.c:
      drivers/net/wan/sbni.c:224:12: warning: no previous prototype for ‘sbni_probe’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b6835f9c
    • Rashika Kheria's avatar
      drivers: net: Mark functions as static in stmmac_platform.c · 33ba4079
      Rashika Kheria authored
      This patch marks the function stmmac_pltfr_freeze() and
      stmmac_pltfr_restore() in stmmac_platform.c as static because they are
      not used outside this file.
      
      Thus, it also removes the following warnings in
      ethernet/stmicro/stmmac/stmmac_platform.c:
      
      drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:222:5: warning: no previous prototype for ‘stmmac_pltfr_freeze’ [-Wmissing-prototypes]
      drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:236:5: warning: no previous prototype for ‘stmmac_pltfr_restore’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      33ba4079
    • Rashika Kheria's avatar
      drivers: net: Mark functions as static in qlcnic_83xx_hw.c · 49fef742
      Rashika Kheria authored
      This patch marks the function qlcnic_83xx_clear_legacy_intr_mask(),
      qlcnic_83xx_set_legacy_intr_mask() and
      qlcnic_83xx_enable_legacy_msix_mbx_intr() in qlcnic_83xx_hw.c as static
      because they are not used outside this file.
      
      Thus, it also removes the following warnings
      in ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c:
      
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c:318:13: warning: no previous prototype for ‘qlcnic_83xx_clear_legacy_intr_mask’ [-Wmissing-prototypes]
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c:323:13: warning: no previous prototype for ‘qlcnic_83xx_set_legacy_intr_mask’ [-Wmissing-prototypes]
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c:343:13: warning: no previous prototype for ‘qlcnic_83xx_enable_legacy_msix_mbx_intr’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      49fef742
    • Rashika Kheria's avatar
      drivers: net: Mark functions as static in qlcnic_io.c · 8e3fb2ce
      Rashika Kheria authored
      This patch marks the function qlcnic_enable_tx_intr(),
      qlcnic_83xx_enable_tx_intr() and qlcnic_83xx_disable_tx_intr() in
      qlcnic_io.c as static because they are not used outside this file.
      
      Thus, it also removes the following warnings in
      ethernet/qlogic/qlcnic/qlcnic_io.c:
      
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c:130:13: warning: no previous prototype for ‘qlcnic_enable_tx_intr’ [-Wmissing-prototypes]
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c:147:13: warning: no previous prototype for ‘qlcnic_83xx_enable_tx_intr’ [-Wmissing-prototypes]
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c:153:13: warning: no previous prototype for ‘qlcnic_83xx_disable_tx_intr’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8e3fb2ce
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next · 1669cb98
      David S. Miller authored
      Steffen Klassert says:
      
      ====================
      pull request (net-next): ipsec-next 2013-12-19
      
      1) Use the user supplied policy index instead of a generated one
         if present. From Fan Du.
      
      2) Make xfrm migration namespace aware. From Fan Du.
      
      3) Make the xfrm state and policy locks namespace aware. From Fan Du.
      
      4) Remove ancient sleeping when the SA is in acquire state,
         we now queue packets to the policy instead. This replaces the
         sleeping code.
      
      5) Remove FLOWI_FLAG_CAN_SLEEP. This was used to notify xfrm about the
         posibility to sleep. The sleeping code is gone, so remove it.
      
      6) Check user specified spi for IPComp. Thr spi for IPcomp is only
         16 bit wide, so check for a valid value. From Fan Du.
      
      7) Export verify_userspi_info to check for valid user supplied spi ranges
         with pfkey and netlink. From Fan Du.
      
      8) RFC3173 states that if the total size of a compressed payload and the IPComp
         header is not smaller than the size of the original payload, the IP datagram
         must be sent in the original non-compressed form. These packets are dropped
         by the inbound policy check because they are not transformed. Document the need
         to set 'level use' for IPcomp to receive such packets anyway. From Fan Du.
      
      Please pull or let me know if there are problems.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1669cb98
    • David S. Miller's avatar
      Merge branch 'bonding_nl' · cb4eae3d
      David S. Miller authored
      Scott Feldman says:
      
      ====================
      bonding: add even more netlink attributes
      
      The following series implements five more bonding netlink attributes:
      
      	num_grat_arp|num_unsol_na
      	all_slaves_active
      	min_links
      	lp_interval
      	packets_per_slave
      
      Tested with modified iproute2 to verify attributes can be set at bond creation
      time or set later.  Verified sysfs interface to attributes continues to work.
      
      I have one more set after this one for all of the 802.3ad attributes.  Whew.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cb4eae3d
    • sfeldma@cumulusnetworks.com's avatar
      bonding: add packets_per_slave attribute netlink support · c13ab3ff
      sfeldma@cumulusnetworks.com authored
      Add IFLA_BOND_PACKETS_PER_SLAVE to allow get/set of bonding parameter
      packets_per_slave via netlink.
      Signed-off-by: default avatarScott Feldman <sfeldma@cumulusnetworks.com>
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c13ab3ff