Re: [PATCH net v2] net: lwtunnel: disable BHs when required

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 15, 2025 at 10:33 AM Justin Iurman <justin.iurman@xxxxxxxxx> wrote:
>                 goto drop;
>         }
> -       lwtstate = dst->lwtstate;
>
> +       lwtstate = dst->lwtstate;
>         if (lwtstate->type == LWTUNNEL_ENCAP_NONE ||
>             lwtstate->type > LWTUNNEL_ENCAP_MAX)
>                 return 0;
> @@ -460,10 +469,8 @@ int lwtunnel_input(struct sk_buff *skb)
>                 goto drop;
>
>         return ret;
> -
>  drop:
>         kfree_skb(skb);
> -

Don't see the point of seemingly random cleanups, but overall lgtm.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux