]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
batman-adv: Increase hard_iface refcnt for ptype
authorSven Eckelmann <sven@narfation.org>
Sat, 5 Mar 2016 15:09:18 +0000 (16:09 +0100)
committerAntonio Quartulli <a@unstable.cc>
Tue, 10 May 2016 10:28:29 +0000 (18:28 +0800)
commitd7d6de9530db7e385a05e1ae6cde642a617e6c89
treea544b599f579ea76346cd604c71be7095207586d
parent4fe56e60ac1be4d103f64743d0a36fd31a70657c
batman-adv: Increase hard_iface refcnt for ptype

The hard_iface is referenced in the packet_type for batman-adv. Increase
the refcounter of the hard_interface for it to have an explicit reference
for it in case this functionality gets refactorted and the currently
used implicit reference for it will be removed.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/hard-interface.c