The patches currently in the kernel for Linux 4.1 have a different variable
order in batadv_send_skb_unicast than the out-of-tree module. Fix the
order in the out-of-tree module because it is easier to get merged.

Signed-off-by: Sven Eckelmann <[email protected]>
---
 send.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/send.c b/send.c
index d27161e..3d64ed2 100644
--- a/send.c
+++ b/send.c
@@ -255,8 +255,8 @@ int batadv_send_skb_unicast(struct batadv_priv *bat_priv,
                            struct batadv_orig_node *orig_node,
                            unsigned short vid)
 {
-       struct batadv_unicast_packet *unicast_packet;
        struct ethhdr *ethhdr;
+       struct batadv_unicast_packet *unicast_packet;
        int ret = NET_XMIT_DROP;
 
        if (!orig_node)
-- 
2.1.4

Reply via email to