Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85635
b: refs/heads/master
c: e4f8b5d
h: refs/heads/master
i:
  85633: e4d161c
  85631: 603f8bf
v: v3
  • Loading branch information
David S. Miller committed Feb 13, 2008
1 parent 7bc6c0e commit 5c9a24e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: b791dd3ed7bef989f268365e85800862e8ac756f
refs/heads/master: e4f8b5d4edc1edb0709531bd1a342655d5e8b98e
5 changes: 0 additions & 5 deletions trunk/net/ipv4/ip_sockglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,11 +514,6 @@ static int do_ip_setsockopt(struct sock *sk, int level,
val &= ~3;
val |= inet->tos & 3;
}
if (IPTOS_PREC(val) >= IPTOS_PREC_CRITIC_ECP &&
!capable(CAP_NET_ADMIN)) {
err = -EPERM;
break;
}
if (inet->tos != val) {
inet->tos = val;
sk->sk_priority = rt_tos2priority(val);
Expand Down

0 comments on commit 5c9a24e

Please sign in to comment.