mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-12 09:32:44 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Several conflicts here. NFP driver bug fix adding nfp_netdev_is_nfp_repr() check to nfp_fl_output() needed some adjustments because the code block is in an else block now. Parallel additions to net/pkt_cls.h and net/sch_generic.h A bug fix in __tcp_retransmit_skb() conflicted with some of the rbtree changes in net-next. The tc action RCU callback fixes in 'net' had some overlap with some of the recent tcf_block reworking. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
e1ea2f9856
252 changed files with 2334 additions and 2095 deletions
|
@ -486,14 +486,15 @@ static int dsa_cpu_parse(struct dsa_port *port, u32 index,
|
|||
if (!ethernet)
|
||||
return -EINVAL;
|
||||
ethernet_dev = of_find_net_device_by_node(ethernet);
|
||||
if (!ethernet_dev)
|
||||
return -EPROBE_DEFER;
|
||||
} else {
|
||||
ethernet_dev = dsa_dev_to_net_device(ds->cd->netdev[index]);
|
||||
if (!ethernet_dev)
|
||||
return -EPROBE_DEFER;
|
||||
dev_put(ethernet_dev);
|
||||
}
|
||||
|
||||
if (!ethernet_dev)
|
||||
return -EPROBE_DEFER;
|
||||
|
||||
if (!dst->cpu_dp) {
|
||||
dst->cpu_dp = port;
|
||||
dst->cpu_dp->master = ethernet_dev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue