diff options
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r-- | net/batman-adv/routing.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index 42cb6e2e44f5..c172f5d0e05a 100644 --- a/net/batman-adv/routing.c +++ b/net/batman-adv/routing.c | |||
@@ -1263,8 +1263,7 @@ static int check_unicast_packet(struct sk_buff *skb, int hdr_size) | |||
1263 | return 0; | 1263 | return 0; |
1264 | } | 1264 | } |
1265 | 1265 | ||
1266 | int route_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if, | 1266 | int route_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if) |
1267 | int hdr_size) | ||
1268 | { | 1267 | { |
1269 | struct bat_priv *bat_priv = netdev_priv(recv_if->soft_iface); | 1268 | struct bat_priv *bat_priv = netdev_priv(recv_if->soft_iface); |
1270 | struct orig_node *orig_node = NULL; | 1269 | struct orig_node *orig_node = NULL; |
@@ -1365,7 +1364,7 @@ int recv_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if) | |||
1365 | return NET_RX_SUCCESS; | 1364 | return NET_RX_SUCCESS; |
1366 | } | 1365 | } |
1367 | 1366 | ||
1368 | return route_unicast_packet(skb, recv_if, hdr_size); | 1367 | return route_unicast_packet(skb, recv_if); |
1369 | } | 1368 | } |
1370 | 1369 | ||
1371 | int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if) | 1370 | int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if) |
@@ -1398,7 +1397,7 @@ int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if) | |||
1398 | return NET_RX_SUCCESS; | 1397 | return NET_RX_SUCCESS; |
1399 | } | 1398 | } |
1400 | 1399 | ||
1401 | return route_unicast_packet(skb, recv_if, hdr_size); | 1400 | return route_unicast_packet(skb, recv_if); |
1402 | } | 1401 | } |
1403 | 1402 | ||
1404 | 1403 | ||