Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98840
b: refs/heads/master
c: fe785be
h: refs/heads/master
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Jul 10, 2008
1 parent 795c255 commit 2fb188f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 22 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: 2e655571c618434c24ac2ca989374fdd84470d6d
refs/heads/master: fe785bee05f08d37b34b7399d003b74199274ce4
7 changes: 1 addition & 6 deletions trunk/net/netlabel/netlabel_cipso_v4.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,12 +584,7 @@ static int netlbl_cipsov4_list(struct sk_buff *skb, struct genl_info *info)
rcu_read_unlock();

genlmsg_end(ans_skb, data);

ret_val = genlmsg_reply(ans_skb, info);
if (ret_val != 0)
goto list_failure;

return 0;
return genlmsg_reply(ans_skb, info);

list_retry:
/* XXX - this limit is a guesstimate */
Expand Down
12 changes: 2 additions & 10 deletions trunk/net/netlabel/netlabel_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,7 @@ static int netlbl_mgmt_listdef(struct sk_buff *skb, struct genl_info *info)
rcu_read_unlock();

genlmsg_end(ans_skb, data);

ret_val = genlmsg_reply(ans_skb, info);
if (ret_val != 0)
goto listdef_failure;
return 0;
return genlmsg_reply(ans_skb, info);

listdef_failure_lock:
rcu_read_unlock();
Expand Down Expand Up @@ -501,11 +497,7 @@ static int netlbl_mgmt_version(struct sk_buff *skb, struct genl_info *info)
goto version_failure;

genlmsg_end(ans_skb, data);

ret_val = genlmsg_reply(ans_skb, info);
if (ret_val != 0)
goto version_failure;
return 0;
return genlmsg_reply(ans_skb, info);

version_failure:
kfree_skb(ans_skb);
Expand Down
6 changes: 1 addition & 5 deletions trunk/net/netlabel/netlabel_unlabeled.c
Original file line number Diff line number Diff line change
Expand Up @@ -1107,11 +1107,7 @@ static int netlbl_unlabel_list(struct sk_buff *skb, struct genl_info *info)
goto list_failure;

genlmsg_end(ans_skb, data);

ret_val = genlmsg_reply(ans_skb, info);
if (ret_val != 0)
goto list_failure;
return 0;
return genlmsg_reply(ans_skb, info);

list_failure:
kfree_skb(ans_skb);
Expand Down

0 comments on commit 2fb188f

Please sign in to comment.