lkml.org 
[lkml]   [2022]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH net] qede: confirm skb is allocated before using
    From
    Date
    Hello:

    This patch was applied to netdev/net.git (master)
    by David S. Miller <davem@davemloft.net>:

    On Wed, 6 Apr 2022 21:19:19 +1000 you wrote:
    > qede_build_skb() assumes build_skb() always works and goes straight
    > to skb_reserve(). However, build_skb() can fail under memory pressure.
    > This results in a kernel panic because the skb to reserve is NULL.
    >
    > Add a check in case build_skb() failed to allocate and return NULL.
    >
    > The NULL return is handled correctly in callers to qede_build_skb().
    >
    > [...]

    Here is the summary with links:
    - [net] qede: confirm skb is allocated before using
    https://git.kernel.org/netdev/net/c/4e910dbe3650

    You are awesome, thank you!
    --
    Deet-doot-dot, I am a bot.
    https://korg.docs.kernel.org/patchwork/pwbot.html


    \
     
     \ /
      Last update: 2022-04-06 18:57    [W:2.256 / U:0.368 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site