diff options
author | Rob Herring <robh@kernel.org> | 2014-05-14 01:34:35 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-05-14 01:34:35 +0200 |
commit | eafd370dfe487facfdef499057f4eac9aa0b4bf5 (patch) | |
tree | 0925a67cd658cdf4811f49b4cd2073f663166bd0 /net/sched/cls_api.c | |
parent | of: push struct boot_param_header and defines into powerpc (diff) | |
parent | of/selftest: add testcase for nodes with same name and address (diff) | |
download | linux-eafd370dfe487facfdef499057f4eac9aa0b4bf5.tar.xz linux-eafd370dfe487facfdef499057f4eac9aa0b4bf5.zip |
Merge branch 'dt-bus-name' into for-next
Diffstat (limited to 'net/sched/cls_api.c')
-rw-r--r-- | net/sched/cls_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index 29a30a14c315..bdbdb1a7920a 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -134,7 +134,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) int err; int tp_created = 0; - if ((n->nlmsg_type != RTM_GETTFILTER) && !capable(CAP_NET_ADMIN)) + if ((n->nlmsg_type != RTM_GETTFILTER) && !netlink_capable(skb, CAP_NET_ADMIN)) return -EPERM; replay: |