]> git.baikalelectronics.ru Git - kernel.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)
commit269ddc367122e257e2b843e8ac31beb2a7498bce
treea544b599f579ea76346cd604c71be7095207586d
parentd14c65d3ac091fff3992acbf4fd33c11ba512ee3
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