Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103207
b: refs/heads/master
c: f81b2e7
h: refs/heads/master
i:
  103205: c37ac57
  103203: 436d565
  103199: db217cd
v: v3
  • Loading branch information
YOSHIFUJI Hideaki committed Jul 3, 2008
1 parent 12d333e commit 08bac39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: d68b82705a4a754e5773f412c6b8f1e65259bc8b
refs/heads/master: f81b2e7d8cf8c6a52b7a5224c3b89cee5aeb6811
3 changes: 2 additions & 1 deletion trunk/net/ipv6/ip6_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,8 @@ int ip6_forward(struct sk_buff *skb)
int addrtype = ipv6_addr_type(&hdr->saddr);

/* This check is security critical. */
if (addrtype & (IPV6_ADDR_MULTICAST|IPV6_ADDR_LOOPBACK))
if (addrtype == IPV6_ADDR_ANY ||
addrtype & (IPV6_ADDR_MULTICAST | IPV6_ADDR_LOOPBACK))
goto error;
if (addrtype & IPV6_ADDR_LINKLOCAL) {
icmpv6_send(skb, ICMPV6_DEST_UNREACH,
Expand Down

0 comments on commit 08bac39

Please sign in to comment.