]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: make sure ELP/OGM orig MAC is updated on address change
authorAntonio Quartulli <a@unstable.cc>
Sun, 1 May 2016 17:14:40 +0000 (01:14 +0800)
committerAntonio Quartulli <a@unstable.cc>
Wed, 18 May 2016 03:49:41 +0000 (11:49 +0800)
commite25cc0b4b77b4891c41159f4341054c8200e6597
tree2383946359740a89a61254caeaa3bcab703af08a
parent9b1fefe41891d8e59929c34b7ab6855242b0e65b
batman-adv: make sure ELP/OGM orig MAC is updated on address change

When the MAC address of the primary interface is changed,
update the originator address in the ELP and OGM skb buffers as
well in order to reflect the change.

Fixes: cdd2a49b0fd6 ("batman-adv: ELP - adding basic infrastructure")
Reported-by: Marek Lindner <marek@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/bat_v.c