1. 24 Feb, 2014 3 commits
    • dingtianhong's avatar
      bonding: use rcu_dereference() to access curr_active_slave · 4335d60e
      dingtianhong authored
      The bond_info_show_master already in RCU read-side critical section,
      and the we access curr_active_slave without the curr_slave_lock, we
      could not sure whether the curr_active_slave will be changed during
      the processing, so use RCU to protected the pointer.
      
      Cc: Jay Vosburgh <fubar@us.ibm.com>
      Cc: Veaceslav Falico <vfalico@redhat.com>
      Cc: Andy Gospodarek <andy@greyhouse.net>
      Signed-off-by: default avatarDing Tianhong <dingtianhong@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4335d60e
    • dingtianhong's avatar
      bonding: netpoll: remove unwanted slave_dev_support_netpoll() · 82741808
      dingtianhong authored
      The __netpoll_setup() will check the slave's flag and ndo_poll_controller just
      like the slave_dev_support_netpoll() does, and slave_dev_support_netpoll() was
      not used by any place, so remove it.
      
      Cc: Jay Vosburgh <fubar@us.ibm.com>
      Cc: Veaceslav Falico <vfalico@redhat.com>
      Cc: Andy Gospodarek <andy@greyhouse.net>
      Signed-off-by: default avatarDing Tianhong <dingtianhong@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      82741808
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next · 1f5a7407
      David S. Miller authored
      Steffen Klassert says:
      
      ====================
      1) Introduce skb_to_sgvec_nomark function to add further data to the sg list
         without calling sg_unmark_end first. Needed to add extended sequence
         number informations. From Fan Du.
      
      2) Add IPsec extended sequence numbers support to the Authentication Header
         protocol for ipv4 and ipv6. From Fan Du.
      
      3) Make the IPsec flowcache namespace aware, from Fan Du.
      
      4) Avoid creating temporary SA for every packet when no key manager is
         registered. From Horia Geanta.
      
      5) Support filtering of SA dumps to show only the SAs that match a
         given filter. From Nicolas Dichtel.
      
      6) Remove caching of xfrm_policy_sk_bundles. The cached socket policy bundles
         are never used, instead we create a new cache entry whenever xfrm_lookup()
         is called on a socket policy. Most protocols cache the used routes to the
         socket, so this caching is not needed.
      
      7)  Fix a forgotten SADB_X_EXT_FILTER length check in pfkey, from Nicolas
          Dichtel.
      
      8) Cleanup error handling of xfrm_state_clone.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1f5a7407
  2. 21 Feb, 2014 17 commits
  3. 20 Feb, 2014 4 commits
  4. 19 Feb, 2014 15 commits
  5. 18 Feb, 2014 1 commit
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · b0d3f6d4
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) kvaser CAN driver has fixed limits of some of it's table, validate
          that we won't exceed those limits at probe time.  Fix from Olivier
          Sobrie.
      
       2) Fix rtl8192ce disabling interrupts for too long, from Olivier
          Langlois.
      
       3) Fix botched shift in ath5k driver, from Dan Carpenter.
      
       4) Fix corruption of deferred packets in TIPC, from Erik Hugne.
      
       5) Fix newlink error path in macvlan driver, from Cong Wang.
      
       6) Fix netpoll deadlock in bonding, from Ding Tianhong.
      
       7) Handle GSO packets properly in forwarding path when fragmentation is
          necessary on egress, from Florian Westphal.
      
       8) Fix axienet build errors, from Michal Simek.
      
       9) Fix refcounting of ubufs on tx in vhost net driver, from Michael S
          Tsirkin.
      
      10) Carrier status isn't set properly in hyperv driver, from Haiyang
          Zhang.
      
      11) Missing pci_disable_device() in tulip_remove_one), from Ingo Molnar.
      
      12) AF_PACKET qdisc bypass mode doesn't adhere to driver provided TX
          queue selection method.  Add a fallback method mechanism to fix this
          bug, from Daniel Borkmann.
      
      13) Fix regression in link local route handling on GRE tunnels, from
          Nicolas Dichtel.
      
      14) Bonding can assign dup aggregator IDs in some sequences of
          configuration, fix by making the allocation counter per-bond instead
          of global.  From Jiri Bohac.
      
      15) sctp_connectx() needs compat translations, from Daniel Borkmann.
      
      16) Fix of_mdio PHY interrupt parsing, from Ben Dooks
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (62 commits)
        MAINTAINERS: add entry for the PHY library
        of_mdio: fix phy interrupt passing
        net: ethernet: update dependency and help text of mvneta
        NET: fec: only enable napi if we are successful
        af_packet: remove a stray tab in packet_set_ring()
        net: sctp: fix sctp_connectx abi for ia32 emulation/compat mode
        ipv4: fix counter in_slow_tot
        irtty-sir.c: Do not set_termios() on irtty_close()
        bonding: 802.3ad: make aggregator_identifier bond-private
        usbnet: remove generic hard_header_len check
        gre: add link local route when local addr is any
        batman-adv: fix potential kernel paging error for unicast transmissions
        batman-adv: avoid double free when orig_node initialization fails
        batman-adv: free skb on TVLV parsing success
        batman-adv: fix TT CRC computation by ensuring byte order
        batman-adv: fix potential orig_node reference leak
        batman-adv: avoid potential race condition when adding a new neighbour
        batman-adv: properly check pskb_may_pull return value
        batman-adv: release vlan object after checking the CRC
        batman-adv: fix TT-TVLV parsing on OGM reception
        ...
      b0d3f6d4