datapath: Backport eth_mac_addr().
authorJesse Gross <jesse@nicira.com>
Tue, 4 Dec 2012 18:06:55 +0000 (10:06 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 4 Dec 2012 18:08:30 +0000 (10:08 -0800)
commit476ff5a0ad285b12de1cbe16453b8f12ff79afc6
tree45a85ff908dfd1b1c8088c5d510cd0d76d67f25f
parent07c8ec217b5641b74f20b216ad63fef230649f2c
datapath: Backport eth_mac_addr().

eth_mac_addr() has always been available on the kernels that we
support but the behavior has varied over time.  This provides a
backport that is equivalent to the current kernel, previous OVS
behavior, and the bridge.

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/linux/etherdevice.h
datapath/linux/compat/include/linux/if.h