• Willy Tarreau's avatar
    net: sendmsg: fix failed backport of "fix NULL pointer dereference" · 25761523
    Willy Tarreau authored
    Luis Henriques reported that while backporting commit 40eea803 ("net:
    sendmsg: fix NULL pointer dereference") and applying the diff by hand,
    I made a typo resulting in the same test being done twice, and msg_name
    not being tested.
    
    This fixes cf903573 ("net: sendmsg: fix NULL pointer dereference")
    which was merged into 2.6.32.64.
    
    Cc: Andrey Ryabinin <a.ryabinin@samsung.com>
    Cc: Luis Henriques <luis.henriques@canonical.com>
    Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
    25761523
compat.c 23.5 KB