Skip to content

Commit bfc64d9

Browse files
committed
Merge tag 'net-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from Jakub Kicinski: "Including fixes from can and netfilter. Things are slowing down quite a bit, mostly driver fixes here. No known ongoing investigations. Current release - new code bugs: - eth: ti: am65-cpsw: - fix multi queue Rx on J7 - fix warning in am65_cpsw_nuss_remove_rx_chns() Previous releases - regressions: - mptcp: do not require admin perm to list endpoints, got missed in a refactoring - mptcp: use sock_kfree_s instead of kfree Previous releases - always broken: - sctp: properly validate chunk size in sctp_sf_ootb() fix OOB access - virtio_net: make RSS interact properly with queue number - can: mcp251xfd: mcp251xfd_get_tef_len(): fix length calculation - can: mcp251xfd: mcp251xfd_ring_alloc(): fix coalescing configuration when switching CAN modes Misc: - revert earlier hns3 fixes, they were ignoring IOMMU abstractions and need to be reworked - can: {cc770,sja1000}_isa: allow building on x86_64" * tag 'net-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (42 commits) drivers: net: ionic: add missed debugfs cleanup to ionic_probe() error path net/smc: do not leave a dangling sk pointer in __smc_create() rxrpc: Fix missing locking causing hanging calls net/smc: Fix lookup of netdev by using ib_device_get_netdev() net: arc: rockchip: fix emac mdio node support net: arc: fix the device for dma_map_single/dma_unmap_single virtio_net: Update rss when set queue virtio_net: Sync rss config to device when virtnet_probe virtio_net: Add hash_key_length check virtio_net: Support dynamic rss indirection table size netfilter: nf_tables: wait for rcu grace period on net_device removal net: stmmac: Fix unbalanced IRQ wake disable warning on single irq case net: vertexcom: mse102x: Fix possible double free of TX skb mptcp: use sock_kfree_s instead of kfree mptcp: no admin perm to list endpoints net: phy: ti: add PHY_RST_AFTER_CLK_EN flag net: ethernet: ti: am65-cpsw: fix warning in am65_cpsw_nuss_remove_rx_chns() net: ethernet: ti: am65-cpsw: Fix multi queue Rx on J7 net: hns3: fix kernel crash when uninstalling driver Revert "Merge branch 'there-are-some-bugfix-for-the-hns3-ethernet-driver'" ...
2 parents 80fb253 + 71712cf commit bfc64d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+333
-337
lines changed

CREDITS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,10 @@ S: Dreisbachstrasse 24
12041204
S: D-57250 Netphen
12051205
S: Germany
12061206

1207+
N: Florian Fainelli
1208+
E: f.fainelli@gmail.com
1209+
D: DSA
1210+
12071211
N: Rik Faith
12081212
E: faith@acm.org
12091213
D: Future Domain TMC-16x0 SCSI driver (author)

Documentation/devicetree/bindings/net/xlnx,axi-ethernet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ properties:
6161
- gmii
6262
- rgmii
6363
- sgmii
64-
- 1000BaseX
64+
- 1000base-x
6565

6666
xlnx,phy-type:
6767
description:

Documentation/netlink/specs/mptcp_pm.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ operations:
293293
doc: Get endpoint information
294294
attribute-set: attr
295295
dont-validate: [ strict ]
296-
flags: [ uns-admin-perm ]
297296
do: &get-addr-attrs
298297
request:
299298
attributes:

Documentation/networking/j1939.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ format, the Group Extension is set in the PS-field.
121121

122122
On the other hand, when using PDU1 format, the PS-field contains a so-called
123123
Destination Address, which is _not_ part of the PGN. When communicating a PGN
124-
from user space to kernel (or vice versa) and PDU2 format is used, the PS-field
124+
from user space to kernel (or vice versa) and PDU1 format is used, the PS-field
125125
of the PGN shall be set to zero. The Destination Address shall be set
126126
elsewhere.
127127

MAINTAINERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16083,7 +16083,6 @@ F: drivers/net/wireless/
1608316083

1608416084
NETWORKING [DSA]
1608516085
M: Andrew Lunn <andrew@lunn.ch>
16086-
M: Florian Fainelli <f.fainelli@gmail.com>
1608716086
M: Vladimir Oltean <olteanv@gmail.com>
1608816087
S: Maintained
1608916088
F: Documentation/devicetree/bindings/net/dsa/

drivers/net/can/c_can/c_can_main.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,6 @@ static int c_can_handle_bus_err(struct net_device *dev,
10111011

10121012
/* common for all type of bus errors */
10131013
priv->can.can_stats.bus_error++;
1014-
stats->rx_errors++;
10151014

10161015
/* propagate the error condition to the CAN stack */
10171016
skb = alloc_can_err_skb(dev, &cf);
@@ -1027,26 +1026,32 @@ static int c_can_handle_bus_err(struct net_device *dev,
10271026
case LEC_STUFF_ERROR:
10281027
netdev_dbg(dev, "stuff error\n");
10291028
cf->data[2] |= CAN_ERR_PROT_STUFF;
1029+
stats->rx_errors++;
10301030
break;
10311031
case LEC_FORM_ERROR:
10321032
netdev_dbg(dev, "form error\n");
10331033
cf->data[2] |= CAN_ERR_PROT_FORM;
1034+
stats->rx_errors++;
10341035
break;
10351036
case LEC_ACK_ERROR:
10361037
netdev_dbg(dev, "ack error\n");
10371038
cf->data[3] = CAN_ERR_PROT_LOC_ACK;
1039+
stats->tx_errors++;
10381040
break;
10391041
case LEC_BIT1_ERROR:
10401042
netdev_dbg(dev, "bit1 error\n");
10411043
cf->data[2] |= CAN_ERR_PROT_BIT1;
1044+
stats->tx_errors++;
10421045
break;
10431046
case LEC_BIT0_ERROR:
10441047
netdev_dbg(dev, "bit0 error\n");
10451048
cf->data[2] |= CAN_ERR_PROT_BIT0;
1049+
stats->tx_errors++;
10461050
break;
10471051
case LEC_CRC_ERROR:
10481052
netdev_dbg(dev, "CRC error\n");
10491053
cf->data[3] = CAN_ERR_PROT_LOC_CRC_SEQ;
1054+
stats->rx_errors++;
10501055
break;
10511056
default:
10521057
break;

drivers/net/can/cc770/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if CAN_CC770
77

88
config CAN_CC770_ISA
99
tristate "ISA Bus based legacy CC770 driver"
10-
depends on ISA
10+
depends on HAS_IOPORT
1111
help
1212
This driver adds legacy support for CC770 and AN82527 chips
1313
connected to the ISA bus using I/O port, memory mapped or

drivers/net/can/m_can/m_can.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,8 @@ static int m_can_close(struct net_device *dev)
17651765
netif_stop_queue(dev);
17661766

17671767
m_can_stop(dev);
1768-
free_irq(dev->irq, dev);
1768+
if (dev->irq)
1769+
free_irq(dev->irq, dev);
17691770

17701771
m_can_clean(dev);
17711772

drivers/net/can/rockchip/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
config CAN_ROCKCHIP_CANFD
44
tristate "Rockchip CAN-FD controller"
5-
depends on OF || COMPILE_TEST
5+
depends on OF
6+
depends on ARCH_ROCKCHIP || COMPILE_TEST
67
select CAN_RX_OFFLOAD
78
help
89
Say Y here if you want to use CAN-FD controller found on

drivers/net/can/sja1000/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ config CAN_PLX_PCI
8787

8888
config CAN_SJA1000_ISA
8989
tristate "ISA Bus based legacy SJA1000 driver"
90-
depends on ISA
90+
depends on HAS_IOPORT
9191
help
9292
This driver adds legacy support for SJA1000 chips connected to
9393
the ISA bus using I/O port, memory mapped or indirect access.

0 commit comments

Comments
 (0)