mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/broadcom/genet/bcmgenet.c net/core/sock.c Conflicts were overlapping changes in bcmgenet and the lockdep handling of sockets. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
101c431492
590 changed files with 7664 additions and 3397 deletions
|
|
@ -1317,7 +1317,8 @@ static void mpls_ifdown(struct net_device *dev, int event)
|
|||
/* fall through */
|
||||
case NETDEV_CHANGE:
|
||||
nh->nh_flags |= RTNH_F_LINKDOWN;
|
||||
ACCESS_ONCE(rt->rt_nhn_alive) = rt->rt_nhn_alive - 1;
|
||||
if (event != NETDEV_UNREGISTER)
|
||||
ACCESS_ONCE(rt->rt_nhn_alive) = rt->rt_nhn_alive - 1;
|
||||
break;
|
||||
}
|
||||
if (event == NETDEV_UNREGISTER)
|
||||
|
|
@ -2110,6 +2111,7 @@ static void mpls_net_exit(struct net *net)
|
|||
for (index = 0; index < platform_labels; index++) {
|
||||
struct mpls_route *rt = rtnl_dereference(platform_label[index]);
|
||||
RCU_INIT_POINTER(platform_label[index], NULL);
|
||||
mpls_notify_route(net, index, rt, NULL, NULL);
|
||||
mpls_rt_free(rt);
|
||||
}
|
||||
rtnl_unlock();
|
||||
|
|
|
|||
Loading…
Reference in a new issue