Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166732
b: refs/heads/master
c: 2483647
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Reisner authored and David S. Miller committed Oct 2, 2009
1 parent 350a6c7 commit 4d8517e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1489cfb173509a3c13444b46b6c989bad4f5b16
refs/heads/master: 24836479a126e02be691e073c2b6cad7e7ab836a
3 changes: 3 additions & 0 deletions trunk/drivers/md/dm-log-userspace-transfer.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ static void cn_ulog_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
{
struct dm_ulog_request *tfr = (struct dm_ulog_request *)(msg + 1);

if (!cap_raised(nsp->eff_cap, CAP_SYS_ADMIN))
return;

spin_lock(&receiving_list_lock);
if (msg->len == 0)
fill_pkg(msg, NULL);
Expand Down

0 comments on commit 4d8517e

Please sign in to comment.