Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34679
b: refs/heads/master
c: 680a27a
h: refs/heads/master
i:
  34677: c7e5ad1
  34675: a96aba1
  34671: 21add41
v: v3
  • Loading branch information
Thomas Graf authored and David S. Miller committed Sep 22, 2006
1 parent 5d7159f commit 3aabe48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 0ab6803bc90a8ee5c860ef09334b30007d1746be
refs/heads/master: 680a27a23af45307095ae432dd0bc859e1fbe219
6 changes: 0 additions & 6 deletions trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1886,9 +1886,6 @@ static int inet6_addr_add(int ifindex, struct in6_addr *pfx, int plen,
if ((dev = __dev_get_by_index(ifindex)) == NULL)
return -ENODEV;

if (!(dev->flags&IFF_UP))
return -ENETDOWN;

if ((idev = addrconf_add_dev(dev)) == NULL)
return -ENOBUFS;

Expand Down Expand Up @@ -2922,9 +2919,6 @@ inet6_addr_modify(int ifindex, struct in6_addr *pfx,
if ((dev = __dev_get_by_index(ifindex)) == NULL)
return -ENODEV;

if (!(dev->flags&IFF_UP))
return -ENETDOWN;

if (!valid_lft || (prefered_lft > valid_lft))
return -EINVAL;

Expand Down

0 comments on commit 3aabe48

Please sign in to comment.