Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34742
b: refs/heads/master
c: fc26d0a
h: refs/heads/master
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Sep 22, 2006
1 parent 3d9b511 commit 602cdbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 8814c4b533817df825485ff32ce6ac406c3a54d1
refs/heads/master: fc26d0abd5afd2b5268a7dbdbf8be1095ce5703e
7 changes: 2 additions & 5 deletions trunk/net/ipv6/ndisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ static void ndisc_send_na(struct net_device *dev, struct neighbour *neigh,
msg->icmph.icmp6_unused = 0;
msg->icmph.icmp6_router = router;
msg->icmph.icmp6_solicited = solicited;
msg->icmph.icmp6_override = !!override;
msg->icmph.icmp6_override = override;

/* Set the target address. */
ipv6_addr_copy(&msg->target, solicited_addr);
Expand Down Expand Up @@ -847,10 +847,7 @@ static void ndisc_recv_ns(struct sk_buff *skb)
goto out;
}

if (pneigh)
is_router = pneigh->flags & NTF_ROUTER;
else
is_router = idev->cnf.forwarding;
is_router = !!(pneigh ? pneigh->flags & NTF_ROUTER : idev->cnf.forwarding);

if (dad) {
struct in6_addr maddr;
Expand Down

0 comments on commit 602cdbf

Please sign in to comment.