On 7/19/21 2:35 AM, Xiyu Yang wrote:
> refcount_t type and corresponding API can protect refcounters from
> accidental underflow and overflow and further use-after-free situations.
>
> Signed-off-by: Xiyu Yang <[email protected]>
> Signed-off-by: Xin Tan <[email protected]>
> ---
> include/net/ipv6.h | 5 +++--
> net/ipv6/ip6_flowlabel.c | 18 +++++++++---------
> 2 files changed, 12 insertions(+), 11 deletions(-)
>
Reviewed-by: David Ahern <[email protected]>