mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Trivial conflicts in net/can/isotp.c and tools/testing/selftests/net/mptcp/mptcp_connect.sh scaled_ppm_to_ppb() was moved from drivers/ptp/ptp_clock.c to include/linux/ptp_clock_kernel.h in -next so re-apply the fix there. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
adc2e56ebe
858 changed files with 9191 additions and 4065 deletions
|
@ -4850,10 +4850,12 @@ static int rtnl_bridge_notify(struct net_device *dev)
|
|||
if (err < 0)
|
||||
goto errout;
|
||||
|
||||
if (!skb->len) {
|
||||
err = -EINVAL;
|
||||
/* Notification info is only filled for bridge ports, not the bridge
|
||||
* device itself. Therefore, a zero notification length is valid and
|
||||
* should not result in an error.
|
||||
*/
|
||||
if (!skb->len)
|
||||
goto errout;
|
||||
}
|
||||
|
||||
rtnl_notify(skb, net, 0, RTNLGRP_LINK, NULL, GFP_ATOMIC);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue