Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228174
b: refs/heads/master
c: b8cd754
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Langer authored and Greg Kroah-Hartman committed Nov 29, 2010
1 parent 6d9638c commit 27b8934
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3cc7595d242a22a9ffba91979d2cd4e4e815424
refs/heads/master: b8cd75445e842b11a0a8ff1e763303a575c21c77
7 changes: 0 additions & 7 deletions trunk/drivers/staging/batman-adv/routing.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,12 +1131,6 @@ static int route_unicast_packet(struct sk_buff *skb,

unicast_packet = (struct unicast_packet *)skb->data;

/* packet for me */
if (is_my_mac(unicast_packet->dest)) {
interface_rx(recv_if->soft_iface, skb, hdr_size);
return NET_RX_SUCCESS;
}

/* TTL exceeded */
if (unicast_packet->ttl < 2) {
pr_debug("Warning - can't forward unicast packet from %pM to "
Expand Down Expand Up @@ -1170,7 +1164,6 @@ static int route_unicast_packet(struct sk_buff *skb,
return NET_RX_DROP;

unicast_packet = (struct unicast_packet *)skb->data;
ethhdr = (struct ethhdr *)skb_mac_header(skb);

/* decrement ttl */
unicast_packet->ttl--;
Expand Down

0 comments on commit 27b8934

Please sign in to comment.