1. 18 Jan, 2014 6 commits
    • Simon Horman's avatar
      sh_eth: Use bool as return type of sh_eth_is_gether() · 504c8ca5
      Simon Horman authored
      Return a boolean from sh_eth_is_gether() and refactor it as a one-liner.
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Acked-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      504c8ca5
    • Flavio Leitner's avatar
      ipv6: send Change Status Report after DAD is completed · 6a7cc418
      Flavio Leitner authored
      The RFC 3810 defines two type of messages for multicast
      listeners. The "Current State Report" message, as the name
      implies, refreshes the *current* state to the querier.
      Since the querier sends Query messages periodically, there
      is no need to retransmit the report.
      
      On the other hand, any change should be reported immediately
      using "State Change Report" messages. Since it's an event
      triggered by a change and that it can be affected by packet
      loss, the rfc states it should be retransmitted [RobVar] times
      to make sure routers will receive timely.
      
      Currently, we are sending "Current State Reports" after
      DAD is completed.  Before that, we send messages using
      unspecified address (::) which should be silently discarded
      by routers.
      
      This patch changes to send "State Change Report" messages
      after DAD is completed fixing the behavior to be RFC compliant
      and also to pass TAHI IPv6 testsuite.
      Signed-off-by: default avatarFlavio Leitner <fbl@redhat.com>
      Acked-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6a7cc418
    • stephen hemminger's avatar
      qlcnic: remove unused code · c3bc40e2
      stephen hemminger authored
      Remove function  qlcnic_enable_eswitch which was defined
      but never used in current code.
      
      Compile tested only.
      Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c3bc40e2
    • stephen hemminger's avatar
      qlcnic: make local functions static · 21041400
      stephen hemminger authored
      Functions only used in one file should be static.
      Found by running make namespacecheck
      
      Compile tested only.
      Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      21041400
    • Florent Fourcot's avatar
      ipv6: tcp: fix flowlabel value in ACK messages send from TIME_WAIT · 1d13a96c
      Florent Fourcot authored
      This patch is following the commit b903d324 (ipv6: tcp: fix TCLASS
      value in ACK messages sent from TIME_WAIT).
      
      For the same reason than tclass, we have to store the flow label in the
      inet_timewait_sock to provide consistency of flow label on the last ACK.
      Signed-off-by: default avatarFlorent Fourcot <florent.fourcot@enst-bretagne.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1d13a96c
    • David S. Miller's avatar
      Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next · d037c4d7
      David S. Miller authored
      John W. Linville says:
      
      ====================
      Please pull this batch of updates for the 3.14 stream!
      
      For the mac80211 bits, Johannes says:
      
      "This time I have uAPSD fixes since I was working on that, hwsim
      improvements to make dynamic radios possible for the test suite, the
      evidently long-overdue channel_change_time removal and a few other small
      collected fix and improvements."
      
      For the iwlwifi bits, Emmanuel says:
      
      "Besides a few trivial patches, I have an important workaround for a HW
      issue that has kept me busy for a long time. Along with it, a fix that
      prevents an error from being printed.
      Eyal fixes our behavior against SISO APs and Ilan fixes an issue with
      multiple interface scenarios.
      Eliad fixes an error path in our init flow.
      We also have a few 'static analyzers' fix."
      
      For the NFC bits, Samuel says:
      
      "It includes:
      
      * A new NFC driver for Marvell's 8897, and a few NCI fixes and
        improvements needed to support this chipset.
      
      * An LLCP fix for how we were setting the default MIU on a p2p link. If
        there is no explicit MIU extension announced at connection time, we
        must use the default one and not the one announced at LLCP link
        establishement time.
      
      * A pn544 EEPROM config update. Some of the currently EEPROM configured
        values are overwriting the firmware ones while other should not be set
        by the driver itself.
      
      * Some NFC digital stack fixes and improvements. Asynchronous functions
        are better documented, RF technologies and CRC functions are set upon
        PSL_REQ reception, and a few minor bugs are fixed.
      
      * Minor and miscelaneous pn533, mei_phy and port100 fixes."
      
      For the ath bits, Kalle says:
      
      "Janusz added Kconfig option for DFS. The DFS code was there already, but
      after fixes to mac80211 we can now enable it.
      
      Bartosz added a runtime firmware feature flag to disable P2P. Our 10.1
      firmware branch doesn't support P2P and ath10k can now disable that. He
      also added a limit for how many clients can connect to ath10k AP.
      
      Michal fixed WEP shared authentication, in case someone still uses it.
      And I added firmware debug log to help the firmware engineers."
      
      Along with that is a small batch of ath9k updates and a few other bits
      here and there.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d037c4d7
  2. 17 Jan, 2014 34 commits