diff options
Diffstat (limited to 'net/ipv6/seg6.c')
-rw-r--r-- | net/ipv6/seg6.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv6/seg6.c b/net/ipv6/seg6.c index 8d0ba757a46c..9b2f272ca164 100644 --- a/net/ipv6/seg6.c +++ b/net/ipv6/seg6.c | |||
@@ -221,9 +221,7 @@ static int seg6_genl_get_tunsrc(struct sk_buff *skb, struct genl_info *info) | |||
221 | rcu_read_unlock(); | 221 | rcu_read_unlock(); |
222 | 222 | ||
223 | genlmsg_end(msg, hdr); | 223 | genlmsg_end(msg, hdr); |
224 | genlmsg_reply(msg, info); | 224 | return genlmsg_reply(msg, info); |
225 | |||
226 | return 0; | ||
227 | 225 | ||
228 | nla_put_failure: | 226 | nla_put_failure: |
229 | rcu_read_unlock(); | 227 | rcu_read_unlock(); |