Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90247
b: refs/heads/master
c: 061964f
h: refs/heads/master
i:
  90245: 1e1352d
  90243: 0209fa9
  90239: 7dbee9e
v: v3
  • Loading branch information
Rami Rosen authored and David S. Miller committed Mar 24, 2008
1 parent da63757 commit d4febba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: d5706ef30bc25fe100bc3c3e46e46582a3eaf6b2
refs/heads/master: 061964fb988ca51087948975da66ff523b3a5852
3 changes: 0 additions & 3 deletions trunk/net/ipv6/ndisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,6 @@ void ndisc_send_redirect(struct sk_buff *skb, struct neighbour *neigh,
u8 *opt;
int rd_len;
int err;
int hlen;
u8 ha_buf[MAX_ADDR_LEN], *ha = NULL;

if (ipv6_get_lladdr(dev, &saddr_buf, IFA_F_TENTATIVE)) {
Expand Down Expand Up @@ -1476,8 +1475,6 @@ void ndisc_send_redirect(struct sk_buff *skb, struct neighbour *neigh,
return;
}

hlen = 0;

skb_reserve(buff, LL_RESERVED_SPACE(dev));
ip6_nd_hdr(sk, buff, dev, &saddr_buf, &ipv6_hdr(skb)->saddr,
IPPROTO_ICMPV6, len);
Expand Down

0 comments on commit d4febba

Please sign in to comment.