Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368174
b: refs/heads/master
c: 22c3521
h: refs/heads/master
v: v3
  • Loading branch information
Mathias Krause authored and David S. Miller committed Mar 10, 2013
1 parent 230833c commit 9f6283f
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: 6aed0c8bf7d2f389b472834053eb6e3bd6926999
refs/heads/master: 22c352195ee09dcce9f4f0e2d4cd5f382b90f0fb
6 changes: 0 additions & 6 deletions trunk/net/ipv6/addrlabel.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,7 @@ static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh,

if (!tb[IFAL_ADDRESS])
return -EINVAL;

pfx = nla_data(tb[IFAL_ADDRESS]);
if (!pfx)
return -EINVAL;

if (!tb[IFAL_LABEL])
return -EINVAL;
Expand Down Expand Up @@ -561,10 +558,7 @@ static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr* nlh,

if (!tb[IFAL_ADDRESS])
return -EINVAL;

addr = nla_data(tb[IFAL_ADDRESS]);
if (!addr)
return -EINVAL;

rcu_read_lock();
p = __ipv6_addr_label(net, addr, ipv6_addr_type(addr), ifal->ifal_index);
Expand Down

0 comments on commit 9f6283f

Please sign in to comment.