aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-11-03 12:09:21 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-03 12:09:21 -0400
commit7ba3ebff9c09fa461e7c2d186b81f7af61910abe (patch)
tree07c585a1f345f6e8212137e0f991511fc817243f /include/linux
parentf0395d5b4d691164a6e4d107590636db80b29bf6 (diff)
parent93824c80bf47ebe087414b3a40ca0ff9aab7d1fb (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull networking fixes from David Miller: "Hopefully this is the last batch of networking fixes for 4.14 Fingers crossed... 1) Fix stmmac to use the proper sized OF property read, from Bhadram Varka. 2) Fix use after free in net scheduler tc action code, from Cong Wang. 3) Fix SKB control block mangling in tcp_make_synack(). 4) Use proper locking in fib_dump_info(), from Florian Westphal. 5) Fix IPG encodings in systemport driver, from Florian Fainelli. 6) Fix division by zero in NV TCP congestion control module, from Konstantin Khlebnikov. 7) Fix use after free in nf_reject_ipv4, from Tejaswi Tanikella" * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: net: systemport: Correct IPG length settings tcp: do not mangle skb->cb[] in tcp_make_synack() fib: fib_dump_info can no longer use __in_dev_get_rtnl stmmac: use of_property_read_u32 instead of read_u8 net_sched: hold netns refcnt for each action net_sched: acquire RTNL in tc_action_net_exit() net: vrf: correct FRA_L3MDEV encode type tcp_nv: fix division by zero in tcpnv_acked() netfilter: nf_reject_ipv4: Fix use-after-free in send_reset netfilter: nft_set_hash: disable fast_ops for 2-len keys
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/stmmac.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 108739ff9223..32feac5bbd75 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -126,14 +126,14 @@ struct stmmac_axi {
126 126
127struct stmmac_rxq_cfg { 127struct stmmac_rxq_cfg {
128 u8 mode_to_use; 128 u8 mode_to_use;
129 u8 chan; 129 u32 chan;
130 u8 pkt_route; 130 u8 pkt_route;
131 bool use_prio; 131 bool use_prio;
132 u32 prio; 132 u32 prio;
133}; 133};
134 134
135struct stmmac_txq_cfg { 135struct stmmac_txq_cfg {
136 u8 weight; 136 u32 weight;
137 u8 mode_to_use; 137 u8 mode_to_use;
138 /* Credit Base Shaper parameters */ 138 /* Credit Base Shaper parameters */
139 u32 send_slope; 139 u32 send_slope;
@@ -168,8 +168,8 @@ struct plat_stmmacenet_data {
168 int unicast_filter_entries; 168 int unicast_filter_entries;
169 int tx_fifo_size; 169 int tx_fifo_size;
170 int rx_fifo_size; 170 int rx_fifo_size;
171 u8 rx_queues_to_use; 171 u32 rx_queues_to_use;
172 u8 tx_queues_to_use; 172 u32 tx_queues_to_use;
173 u8 rx_sched_algorithm; 173 u8 rx_sched_algorithm;
174 u8 tx_sched_algorithm; 174 u8 tx_sched_algorithm;
175 struct stmmac_rxq_cfg rx_queues_cfg[MTL_MAX_RX_QUEUES]; 175 struct stmmac_rxq_cfg rx_queues_cfg[MTL_MAX_RX_QUEUES];