Aplly patch, rebuild and reinstall kernel.
Run in terminal1:
cat /var/run/devd.pipe
In terminal2:
ifconfig lan0 name lan1
ifconfig lan1 name lan0
Result
terminal1 will produce output:
!system=IFNET subsystem=lan0 type=RENAME name=lan1
!system=IFNET subsystem=lan1 type=RENAME name=lan0
*lan0 must me replaced with real network interface name.