/* * include/linux/irqchip/irq-st.h * * Copyright (C) 2014 STMicroelectronics – All Rights Reserved * * Author: Lee Jones * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H #define _DT_BINDINGS_INTERRUPT_CONTROLLER_ST_H #define ST_IRQ_SYSCFG_EXT_0 0 #define ST_IRQ_SYSCFG_EXT_1 1 #define ST_IRQ_SYSCFG_EXT_2 2 #define ST_IRQ_SYSCFG_CTI_0 3 #define ST_IRQ_SYSCFG_CTI_1 4 #define ST_IRQ_SYSCFG_PMU_0 5 #define ST_IRQ_SYSCFG_PMU_1 6 #define ST_IRQ_SYSCFG_pl310_L2 7 #define ST_IRQ_SYSCFG_DISABLED 0xFFFFFFFF #define ST_IRQ_SYSCFG_EXT_1_INV 0x1 #define ST_IRQ_SYSCFG_EXT_2_INV 0x2 #define ST_IRQ_SYSCFG_EXT_3_INV 0x4 #endif 'get'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2017-02-02 08:52:21 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-03 16:01:44 -0500
commit94b5e0f970258828bf163b5ef076da4e4b0802e0 (patch)
treeb0fcd7892b00ecdccdc4328a632d98e74d6f265f /net/ipv6
parent3898fac1f488c76e0eef5b5267b4ba8112a82ac4 (diff)
net: ipv6: Set protocol to kernel for local routes
IPv6 stack does not set the protocol for local routes, so those routes show up with proto "none": $ ip -6 ro ls table local local ::1 dev lo proto none metric 0 pref medium local 2100:3:: dev lo proto none metric 0 pref medium local 2100:3::4 dev lo proto none metric 0 pref medium local fe80:: dev lo proto none metric 0 pref medium ... Set rt6i_protocol to RTPROT_KERNEL for consistency with IPv4. Now routes show up with proto "kernel": $ ip -6 ro ls table local local ::1 dev lo proto kernel metric 0 pref medium local 2100:3:: dev lo proto kernel metric 0 pref medium local 2100:3::4 dev lo proto kernel metric 0 pref medium local fe80:: dev lo proto kernel metric 0 pref medium ... Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c