aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2014-05-22 23:07:00 +0000
committerDavid S. Miller <[email protected]>2014-05-23 19:31:49 +0000
commite68de36072e1b9012bc07fe18f83a6c30ce3d260 (patch)
treec4151a7e3906f130ae4fe2efb1aba9fad9367664 /net/ipv6/tcp_ipv6.c
parentnet: mvneta: Clean-up mvneta_init() (diff)
downloadkernel-e68de36072e1b9012bc07fe18f83a6c30ce3d260.tar.gz
kernel-e68de36072e1b9012bc07fe18f83a6c30ce3d260.zip
net: mvneta: Use prepare/commit API to simplify MAC address setting
Use eth_prepare_mac_addr_change and eth_commit_mac_addr_change, instead of manually checking and storing the MAC address, which makes the code slightly more robust. This fixes the lack of valid MAC address check in the driver's .ndo_set_mac_address hook. Signed-off-by: Ezequiel Garcia <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions