[commits] [batman-adv] master: batman-adv: Remove unused IFF_BRIDGE_PORT live patching hack (312ea8a)

postmaster at open-mesh.org postmaster at open-mesh.org
Tue Apr 21 10:52:28 CEST 2015


Repository : ssh://git@open-mesh.org/batman-adv

On branch  : master

>---------------------------------------------------------------

commit 312ea8a07a5572426158d711653c80245061f7a5
Author: Sven Eckelmann <sven at narfation.org>
Date:   Fri Apr 17 19:40:29 2015 +0200

    batman-adv: Remove unused IFF_BRIDGE_PORT live patching hack
    
    Signed-off-by: Sven Eckelmann <sven at narfation.org>
    Signed-off-by: Marek Lindner <mareklindner at neomailbox.ch>


>---------------------------------------------------------------

312ea8a07a5572426158d711653c80245061f7a5
 compat.h |    2 --
 1 file changed, 2 deletions(-)

diff --git a/compat.h b/compat.h
index 35e3dbd..9871a23 100644
--- a/compat.h
+++ b/compat.h
@@ -59,8 +59,6 @@
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36)
 
-#define IFF_BRIDGE_PORT  0 || (hard_iface->net_dev->br_port ? 1 : 0)
-
 /* hack for dev->addr_assign_type &= ~NET_ADDR_RANDOM; */
 #define addr_assign_type ifindex
 



More information about the commits mailing list