Skip to content
Commit bb2f97e6 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov
Browse files

libnetlink: back port a fix for nlattr_parse()



The bug was fixed in libnl-3 3.2.24, but
rhel7 and the Trusty ubuntu don't update this packet yet

commit b50a36bf34e7452377ab9bbb4d1873b68c65bf72
Author: Samuel Gauthier <samuel.gauthier@6wind.com>
Date:   Fri Nov 29 09:28:44 2013 +0100

    The commit 6a8d90f5fec4 "attr: Allow attribute type 0" intended to
    allow the parsing of {netlink,packet,unix}_diag, even if they are
    using type 0 for valid attributes.

    It lacked this part in nla_parse.

    Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: default avatarSamuel Gauthier <samuel.gauthier@6wind.com>
Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>

Fixes #137

Signed-off-by: default avatarAndrew Vagin <avagin@virtuozzo.com>
Acked-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent cabafae2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment