Thread (5 messages) 5 messages, 3 authors, 2012-02-29

Re: [PATCH 00/12] Part 2: check given MAC address, if invalid return -EADDRNOTAVAIL

From: Michał Mirosław <hidden>
Date: 2012-02-24 17:59:27
Also in: linux-hams, linux-media, linux-mips, linux-s390, lkml, netdev

2012/2/24 Danny Kukawka [off-list ref]:
Second Part of series patches to unifiy the return value of
.ndo_set_mac_address if the given address isn't valid.

These changes check if a given (MAC) address is valid in
.ndo_set_mac_address, if invalid return -EADDRNOTAVAIL
as eth_mac_addr() already does if is_valid_ether_addr() fails.
Why not just fix dev_set_mac_address() and make do_setlink() use that?
Checks are specific to address family, not device model I assume.

Best Regards,
Michał Mirosław
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help