mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-27 04:22:58 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-6.15-rc2). Conflict: Documentation/networking/netdevices.rst net/core/lock_debug.c04efcee6ef("net: hold instance lock during NETDEV_CHANGE")03df156dd3("xdp: double protect netdev->xdp_flags with netdev->lock") No adjacent changes. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -1570,15 +1570,7 @@ void netdev_features_change(struct net_device *dev)
|
||||
}
|
||||
EXPORT_SYMBOL(netdev_features_change);
|
||||
|
||||
/**
|
||||
* netdev_state_change - device changes state
|
||||
* @dev: device to cause notification
|
||||
*
|
||||
* Called to indicate a device has changed state. This function calls
|
||||
* the notifier chains for netdev_chain and sends a NEWLINK message
|
||||
* to the routing socket.
|
||||
*/
|
||||
void netdev_state_change(struct net_device *dev)
|
||||
void netif_state_change(struct net_device *dev)
|
||||
{
|
||||
if (dev->flags & IFF_UP) {
|
||||
struct netdev_notifier_change_info change_info = {
|
||||
@@ -1590,7 +1582,6 @@ void netdev_state_change(struct net_device *dev)
|
||||
rtmsg_ifinfo(RTM_NEWLINK, dev, 0, GFP_KERNEL, 0, NULL);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(netdev_state_change);
|
||||
|
||||
/**
|
||||
* __netdev_notify_peers - notify network peers about existence of @dev,
|
||||
|
||||
Reference in New Issue
Block a user