|
22 | 22 | #endif
|
23 | 23 | --- a/include/linux/skbuff.h
|
24 | 24 | +++ b/include/linux/skbuff.h
|
25 |
| -@@ -855,6 +855,7 @@ struct sk_buff { |
| 25 | +@@ -890,6 +890,7 @@ struct sk_buff { |
26 | 26 | #ifdef CONFIG_IPV6_NDISC_NODETYPE
|
27 | 27 | __u8 ndisc_nodetype:2;
|
28 | 28 | #endif
|
|
32 | 32 | __u8 inner_protocol_type:1;
|
33 | 33 | --- a/net/core/dev.c
|
34 | 34 | +++ b/net/core/dev.c
|
35 |
| -@@ -6061,6 +6061,9 @@ static enum gro_result dev_gro_receive(s |
| 35 | +@@ -6062,6 +6062,9 @@ static enum gro_result dev_gro_receive(s |
36 | 36 | int same_flow;
|
37 | 37 | int grow;
|
38 | 38 |
|
|
42 | 42 | if (netif_elide_gro(skb->dev))
|
43 | 43 | goto normal;
|
44 | 44 |
|
45 |
| -@@ -8075,6 +8078,48 @@ static void __netdev_adjacent_dev_unlink |
| 45 | +@@ -8076,6 +8079,48 @@ static void __netdev_adjacent_dev_unlink |
46 | 46 | &upper_dev->adj_list.lower);
|
47 | 47 | }
|
48 | 48 |
|
|
91 | 91 | static int __netdev_upper_dev_link(struct net_device *dev,
|
92 | 92 | struct net_device *upper_dev, bool master,
|
93 | 93 | void *upper_priv, void *upper_info,
|
94 |
| -@@ -8126,6 +8171,7 @@ static int __netdev_upper_dev_link(struc |
| 94 | +@@ -8127,6 +8172,7 @@ static int __netdev_upper_dev_link(struc |
95 | 95 | if (ret)
|
96 | 96 | return ret;
|
97 | 97 |
|
98 | 98 | + netdev_update_addr_mask(dev);
|
99 | 99 | ret = call_netdevice_notifiers_info(NETDEV_CHANGEUPPER,
|
100 | 100 | &changeupper_info.info);
|
101 | 101 | ret = notifier_to_errno(ret);
|
102 |
| -@@ -8222,6 +8268,7 @@ static void __netdev_upper_dev_unlink(st |
| 102 | +@@ -8223,6 +8269,7 @@ static void __netdev_upper_dev_unlink(st |
103 | 103 |
|
104 | 104 | __netdev_adjacent_dev_unlink_neighbour(dev, upper_dev);
|
105 | 105 |
|
106 | 106 | + netdev_update_addr_mask(dev);
|
107 | 107 | call_netdevice_notifiers_info(NETDEV_CHANGEUPPER,
|
108 | 108 | &changeupper_info.info);
|
109 | 109 |
|
110 |
| -@@ -9041,6 +9088,7 @@ int dev_set_mac_address(struct net_devic |
| 110 | +@@ -9042,6 +9089,7 @@ int dev_set_mac_address(struct net_devic |
111 | 111 | if (err)
|
112 | 112 | return err;
|
113 | 113 | dev->addr_assign_type = NET_ADDR_SET;
|
|
0 commit comments