lkml.org 
[lkml]   [2020]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 4.14 08/28] fib: add missing attribute validation for tun_id
    Date
    From: Jakub Kicinski <kuba@kernel.org>

    [ Upstream commit 4c16d64ea04056f1b1b324ab6916019f6a064114 ]

    Add missing netlink policy entry for FRA_TUN_ID.

    Fixes: e7030878fc84 ("fib: Add fib rule match on tunnel id")
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>
    Reviewed-by: David Ahern <dsahern@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    include/net/fib_rules.h | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h
    index 648caf90ec07a..b8fd023ba625a 100644
    --- a/include/net/fib_rules.h
    +++ b/include/net/fib_rules.h
    @@ -102,6 +102,7 @@ struct fib_rule_notifier_info {
    [FRA_OIFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \
    [FRA_PRIORITY] = { .type = NLA_U32 }, \
    [FRA_FWMARK] = { .type = NLA_U32 }, \
    + [FRA_TUN_ID] = { .type = NLA_U64 }, \
    [FRA_FWMASK] = { .type = NLA_U32 }, \
    [FRA_TABLE] = { .type = NLA_U32 }, \
    [FRA_SUPPRESS_PREFIXLEN] = { .type = NLA_U32 }, \
    --
    2.20.1
    \
     
     \ /
      Last update: 2020-03-18 22:03    [W:4.620 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site