Messages in this thread | | | From | Eric Dumazet <> | Date | Tue, 28 Jun 2022 13:57:35 +0200 | Subject | Re: [PATCH v3] ipv6/sit: fix ipip6_tunnel_get_prl return value |
| |
On Tue, Jun 28, 2022 at 5:50 AM <zys.zljxml@gmail.com> wrote: > > From: katrinzhou <katrinzhou@tencent.com> > > When kcalloc fails, ipip6_tunnel_get_prl() should return -ENOMEM. > Move the position of label "out" to return correctly. > > Addresses-Coverity: ("Unused value") > Fixes: 300aaeeaab5f ("[IPV6] SIT: Add SIOCGETPRL ioctl to get/dump PRL.") > Signed-off-by: katrinzhou <katrinzhou@tencent.com> > --- >
Reviewed-by: Eric Dumazet<edumazet@google.com>
| |