Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40542
b: refs/heads/master
c: c6817e4
h: refs/heads/master
v: v3
  • Loading branch information
James Morris authored and David S. Miller committed Oct 31, 2006
1 parent a9b47ee commit db344fc
Show file tree
Hide file tree
Showing 2 changed files with 4 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: de76e695a5ce19c121ba7e246b45f258be678a75
refs/heads/master: c6817e4c32d8c4118405d2dec30ac1c264349085
4 changes: 3 additions & 1 deletion trunk/net/ipv6/ip6_flowlabel.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,10 @@ fl_create(struct in6_flowlabel_req *freq, char __user *optval, int optlen, int *
fl->share = freq->flr_share;
addr_type = ipv6_addr_type(&freq->flr_dst);
if ((addr_type&IPV6_ADDR_MAPPED)
|| addr_type == IPV6_ADDR_ANY)
|| addr_type == IPV6_ADDR_ANY) {
err = -EINVAL;
goto done;
}
ipv6_addr_copy(&fl->dst, &freq->flr_dst);
atomic_set(&fl->users, 1);
switch (fl->share) {
Expand Down

0 comments on commit db344fc

Please sign in to comment.