]> 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)
commitcbf48179518c1b100df1bb2e3d6020961ba93106
tree2383946359740a89a61254caeaa3bcab703af08a
parent09943bbb28cd2e831d094275a7a218ca730a305c
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: 6a6766ed22f8 ("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