OSDN Git Service

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)
commit1653f61d656516aae7130db19561258a847d1e94
tree2383946359740a89a61254caeaa3bcab703af08a
parentf7dcdf5fdbe8fec7670d8f65a5db595c98e0ecab
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: d6f94d91f766 ("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