Skip to content

Commit c3bebc7

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull networking fixes from David Miller: 1) Fix memory leak in ieee80211_prep_connection(), sta_info leaked on error. From Eytan Lifshitz. 2) Unintentional switch case fallthrough in nft_reject_inet_eval(), from Patrick McHardy. 3) Must check if payload lenth is a power of 2 in nft_payload_select_ops(), from Nikolay Aleksandrov. 4) Fix mis-checksumming in xen-netfront driver, ip_hdr() is not in the correct place when we invoke skb_checksum_setup(). From Wei Liu. 5) TUN driver should not advertise HW vlan offload features in vlan_features. Fix from Fernando Luis Vazquez Cao. 6) IPV6_VTI needs to select NET_IPV_TUNNEL to avoid build errors, fix from Steffen Klassert. 7) Add missing locking in xfrm_migrade_state_find(), we must hold the per-namespace xfrm_state_lock while traversing the lists. Fix from Steffen Klassert. 8) Missing locking in ath9k driver, access to tid->sched must be done under ath_txq_lock(). Fix from Stanislaw Gruszka. 9) Fix two bugs in TCP fastopen. First respect the size argument given to tcp_sendmsg() in the fastopen path, and secondly prevent tcp_send_syn_data() from potentially using order-5 allocations. From Eric Dumazet. 10) Fix handling of default neigh garbage collection params, from Jiri Pirko. 11) Fix cwnd bloat and over-inflation of RTT when transmit segmentation is in use. From Eric Dumazet. 12) Missing initialization of Realtek r8169 driver's statistics seqlocks. Fix from Kyle McMartin. 13) Fix RTNL assertion failures in 802.3ad and AB ARP monitor of bonding driver, from Ding Tianhong. 14) Bonding slave release race can cause divide by zero, fix from Nikolay Aleksandrov. 15) Overzealous return from neigh_periodic_work() causes reachability time to not be computed. Fix from Duain Jiong. 16) Fix regression in ipv6_find_hdr(), it should not return -ENOENT when a specific target is specified and found. From Hans Schillstrom. 17) Fix VLAN tag stripping regression in BNA driver, from Ivan Vecera. 18) Tail loss probe can calculate bogus RTTs due to missing packet marking on retransmit. Fix from Yuchung Cheng. 19) We cannot do skb_dst_drop() in iptunnel_pull_header() because multicast loopback detection in later code paths need access to skb_rtable(). Fix from Xin Long. 20) The macvlan driver regresses in that it propagates lower device offload support disables into itself, causing severe slowdowns when running over a bridge. Provide the software offloads always on macvlan devices to deal with this and the regression is gone. From Vlad Yasevich. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (103 commits) macvlan: Add support for 'always_on' offload features net: sctp: fix sctp_sf_do_5_1D_ce to verify if we/peer is AUTH capable ip_tunnel:multicast process cause panic due to skb->_skb_refdst NULL pointer net: cpsw: fix cpdma rx descriptor leak on down interface be2net: isolate TX workarounds not applicable to Skyhawk-R be2net: Fix skb double free in be_xmit_wrokarounds() failure path be2net: clear promiscuous bits in adapter->flags while disabling promiscuous mode be2net: Fix to reset transparent vlan tagging qlcnic: dcb: a couple off by one bugs tcp: fix bogus RTT on special retransmission hsr: off by one sanity check in hsr_register_frame_in() can: remove CAN FD compatibility for CAN 2.0 sockets can: flexcan: factor out soft reset into seperate funtion can: flexcan: flexcan_remove(): add missing netif_napi_del() can: flexcan: fix transition from and to freeze mode in chip_{,un}freeze can: flexcan: factor out transceiver {en,dis}able into seperate functions can: flexcan: fix transition from and to low power mode in chip_{en,dis}able can: flexcan: flexcan_open(): fix error path if flexcan_chip_start() fails can: flexcan: fix shutdown: first disable chip, then all interrupts USB AX88179/178A: Support D-Link DUB-1312 ...
2 parents 16e3f53 + 8b4703e commit c3bebc7

110 files changed

Lines changed: 1108 additions & 690 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
* OpenCores MAC 10/100 Mbps
2+
3+
Required properties:
4+
- compatible: Should be "opencores,ethoc".
5+
- reg: two memory regions (address and length),
6+
first region is for the device registers and descriptor rings,
7+
second is for the device packet memory.
8+
- interrupts: interrupt for the device.
9+
10+
Optional properties:
11+
- clocks: phandle to refer to the clk used as per
12+
Documentation/devicetree/bindings/clock/clock-bindings.txt
13+
14+
Examples:
15+
16+
enet0: ethoc@fd030000 {
17+
compatible = "opencores,ethoc";
18+
reg = <0xfd030000 0x4000 0xfd800000 0x4000>;
19+
interrupts = <1>;
20+
local-mac-address = [00 50 c2 13 6f 00];
21+
clocks = <&osc>;
22+
};

‎Documentation/networking/can.txt‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,6 @@ solution for a couple of reasons:
554554
not specified in the struct can_frame and therefore it is only valid in
555555
CANFD_MTU sized CAN FD frames.
556556

557-
As long as the payload length is <=8 the received CAN frames from CAN FD
558-
capable CAN devices can be received and read by legacy sockets too. When
559-
user-generated CAN FD frames have a payload length <=8 these can be send
560-
by legacy CAN network interfaces too. Sending CAN FD frames with payload
561-
length > 8 to a legacy CAN network interface returns an -EMSGSIZE error.
562-
563557
Implementation hint for new CAN applications:
564558

565559
To build a CAN FD aware application use struct canfd_frame as basic CAN

‎MAINTAINERS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4561,6 +4561,7 @@ F: Documentation/networking/ixgbevf.txt
45614561
F: Documentation/networking/i40e.txt
45624562
F: Documentation/networking/i40evf.txt
45634563
F: drivers/net/ethernet/intel/
4564+
F: drivers/net/ethernet/intel/*/
45644565

45654566
INTEL-MID GPIO DRIVER
45664567
M: David Cohen <david.a.cohen@linux.intel.com>

‎drivers/infiniband/hw/mlx4/main.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
#include "user.h"
5454

5555
#define DRV_NAME MLX4_IB_DRV_NAME
56-
#define DRV_VERSION "1.0"
57-
#define DRV_RELDATE "April 4, 2008"
56+
#define DRV_VERSION "2.2-1"
57+
#define DRV_RELDATE "Feb 2014"
5858

5959
#define MLX4_IB_FLOW_MAX_PRIO 0xFFF
6060
#define MLX4_IB_FLOW_QPN_MASK 0xFFFFFF

‎drivers/infiniband/hw/mlx5/main.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
#include "mlx5_ib.h"
4747

4848
#define DRIVER_NAME "mlx5_ib"
49-
#define DRIVER_VERSION "1.0"
50-
#define DRIVER_RELDATE "June 2013"
49+
#define DRIVER_VERSION "2.2-1"
50+
#define DRIVER_RELDATE "Feb 2014"
5151

5252
MODULE_AUTHOR("Eli Cohen <eli@mellanox.com>");
5353
MODULE_DESCRIPTION("Mellanox Connect-IB HCA IB driver");

‎drivers/net/bonding/bond_3ad.c‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ static inline int __agg_has_partner(struct aggregator *agg)
181181
*/
182182
static inline void __disable_port(struct port *port)
183183
{
184-
bond_set_slave_inactive_flags(port->slave);
184+
bond_set_slave_inactive_flags(port->slave, BOND_SLAVE_NOTIFY_LATER);
185185
}
186186

187187
/**
@@ -193,7 +193,7 @@ static inline void __enable_port(struct port *port)
193193
struct slave *slave = port->slave;
194194

195195
if ((slave->link == BOND_LINK_UP) && IS_UP(slave->dev))
196-
bond_set_slave_active_flags(slave);
196+
bond_set_slave_active_flags(slave, BOND_SLAVE_NOTIFY_LATER);
197197
}
198198

199199
/**
@@ -2062,6 +2062,7 @@ void bond_3ad_state_machine_handler(struct work_struct *work)
20622062
struct list_head *iter;
20632063
struct slave *slave;
20642064
struct port *port;
2065+
bool should_notify_rtnl = BOND_SLAVE_NOTIFY_LATER;
20652066

20662067
read_lock(&bond->lock);
20672068
rcu_read_lock();
@@ -2119,8 +2120,19 @@ void bond_3ad_state_machine_handler(struct work_struct *work)
21192120
}
21202121

21212122
re_arm:
2123+
bond_for_each_slave_rcu(bond, slave, iter) {
2124+
if (slave->should_notify) {
2125+
should_notify_rtnl = BOND_SLAVE_NOTIFY_NOW;
2126+
break;
2127+
}
2128+
}
21222129
rcu_read_unlock();
21232130
read_unlock(&bond->lock);
2131+
2132+
if (should_notify_rtnl && rtnl_trylock()) {
2133+
bond_slave_state_notify(bond);
2134+
rtnl_unlock();
2135+
}
21242136
queue_delayed_work(bond->wq, &bond->ad_work, ad_delta_in_ticks);
21252137
}
21262138

0 commit comments

Comments
 (0)