Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Dec 2014 18:45:47 +0000 (10:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Dec 2014 18:45:47 +0000 (10:45 -0800)
Pull networking fixes from David Miller:

 1) Fix double SKB free in bluetooth 6lowpan layer, from Jukka Rissanen.

 2) Fix receive checksum handling in enic driver, from Govindarajulu
    Varadarajan.

 3) Fix NAPI poll list corruption in virtio_net and caif_virtio, from
    Herbert Xu.  Also, add code to detect drivers that have this mistake
    in the future.

 4) Fix doorbell endianness handling in mlx4 driver, from Amir Vadai.

 5) Don't clobber IP6CB() before xfrm6_policy_check() is called in TCP
    input path,f rom Nicolas Dichtel.

 6) Fix MPLS action validation in openvswitch, from Pravin B Shelar.

 7) Fix double SKB free in vxlan driver, also from Pravin.

 8) When we scrub a packet, which happens when we are switching the
    context of the packet (namespace, etc.), we should reset the
    secmark.  From Thomas Graf.

 9) ->ndo_gso_check() needs to do more than return true/false, it also
    has to allow the driver to clear netdev feature bits in order for
    the caller to be able to proceed properly.  From Jesse Gross.

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (62 commits)
  genetlink: A genl_bind() to an out-of-range multicast group should not WARN().
  netlink/genetlink: pass network namespace to bind/unbind
  ne2k-pci: Add pci_disable_device in error handling
  bonding: change error message to debug message in __bond_release_one()
  genetlink: pass multicast bind/unbind to families
  netlink: call unbind when releasing socket
  netlink: update listeners directly when removing socket
  genetlink: pass only network namespace to genl_has_listeners()
  netlink: rename netlink_unbind() to netlink_undo_bind()
  net: Generalize ndo_gso_check to ndo_features_check
  net: incorrect use of init_completion fixup
  neigh: remove next ptr from struct neigh_table
  net: xilinx: Remove unnecessary temac_property in the driver
  net: phy: micrel: use generic config_init for KSZ8021/KSZ8031
  net/core: Handle csum for CHECKSUM_COMPLETE VXLAN forwarding
  openvswitch: fix odd_ptr_err.cocci warnings
  Bluetooth: Fix accepting connections when not using mgmt
  Bluetooth: Fix controller configuration with HCI_QUIRK_INVALID_BDADDR
  brcmfmac: Do not crash if platform data is not populated
  ipw2200: select CFG80211_WEXT
  ...

1  2 
kernel/audit.c

diff --combined kernel/audit.c
@@@ -429,7 -429,7 +429,7 @@@ static void kauditd_send_skb(struct sk_
   * This function doesn't consume an skb as might be expected since it has to
   * copy it anyways.
   */
 -static void kauditd_send_multicast_skb(struct sk_buff *skb)
 +static void kauditd_send_multicast_skb(struct sk_buff *skb, gfp_t gfp_mask)
  {
        struct sk_buff          *copy;
        struct audit_net        *aunet = net_generic(&init_net, audit_net_id);
         * no reason for new multicast clients to continue with this
         * non-compliance.
         */
 -      copy = skb_copy(skb, GFP_KERNEL);
 +      copy = skb_copy(skb, gfp_mask);
        if (!copy)
                return;
  
 -      nlmsg_multicast(sock, copy, 0, AUDIT_NLGRP_READLOG, GFP_KERNEL);
 +      nlmsg_multicast(sock, copy, 0, AUDIT_NLGRP_READLOG, gfp_mask);
  }
  
  /*
@@@ -1100,7 -1100,7 +1100,7 @@@ static void audit_receive(struct sk_buf
  }
  
  /* Run custom bind function on netlink socket group connect or bind requests. */
- static int audit_bind(int group)
+ static int audit_bind(struct net *net, int group)
  {
        if (!capable(CAP_AUDIT_READ))
                return -EPERM;
@@@ -1940,7 -1940,7 +1940,7 @@@ void audit_log_end(struct audit_buffer 
                struct nlmsghdr *nlh = nlmsg_hdr(ab->skb);
  
                nlh->nlmsg_len = ab->skb->len;
 -              kauditd_send_multicast_skb(ab->skb);
 +              kauditd_send_multicast_skb(ab->skb, ab->gfp_mask);
  
                /*
                 * The original kaudit unicast socket sends up messages with