projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b956d41
)
veth : add the set_mac_address capability
author
Daniel Lezcano
<daniel.lezcano@free.fr>
Sun, 22 Feb 2009 08:04:45 +0000
(
00:04
-0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 22 Feb 2009 08:04:45 +0000
(
00:04
-0800)
Fix lost set_mac_address capability.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/veth.c
b/drivers/net/veth.c
index 852d0e7c4e62abbfb13421664293dd70182c4126..108bbbeacfb61a956223094160715344894b7b2e 100644
(file)
--- a/
drivers/net/veth.c
+++ b/
drivers/net/veth.c
@@
-263,10
+263,11
@@
static void veth_dev_free(struct net_device *dev)
}
static const struct net_device_ops veth_netdev_ops = {
- .ndo_init = veth_dev_init,
- .ndo_open = veth_open,
- .ndo_start_xmit = veth_xmit,
- .ndo_get_stats = veth_get_stats,
+ .ndo_init = veth_dev_init,
+ .ndo_open = veth_open,
+ .ndo_start_xmit = veth_xmit,
+ .ndo_get_stats = veth_get_stats,
+ .ndo_set_mac_address = eth_mac_addr,
};
static void veth_setup(struct net_device *dev)