Linux 4.9.140
Greg KH
maintainerSorry for the quick follow-on release, but this resolves two reported issues that should have gotten into the previous release.
I'm announcing the release of the 4.9.140 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 - arch/x86/kernel/cpu/bugs.c | 57 ++++----------------------------------------- kernel/cpu.c | 11 -------- net/ipv6/route.c | 11 ++++++-- 4 files changed, 16 insertions(+), 65 deletions(-)
Greg Kroah-Hartman (3):
Revert "x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation" Revert "ipv6: set rt6i_protocol properly in the route when it is installed" Linux 4.9.140
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 139 +SUBLEVEL = 140 EXTRAVERSION = NAME = Roaring Lionus
arch/x86/kernel/cpu/bugs.c +6 -51
91 lines not on this page · raw message
kernel/cpu.c +1 -10
@@ -1970,12 +1970,6 @@ static void cpuhp_online_cpu_device(unsigned int cpu)kobject_uevent (&dev->kobj,KOBJ_ONLINE ); } -/* -* Architectures that need SMT-specific errata handling during SMT hotplug -* should override this. -*/ -void __weak arch_smt_update (void ) { }; -static int cpuhp_smt_disable (enum cpuhp_smt_control ctrlval) {int cpu, ret =0 ;
@@ -2002,10 +1996,8 @@ static int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval)*/ cpuhp_offline_cpu_device (cpu); } -if (!ret) { +if (!ret) cpu_smt_control = ctrlval; -arch_smt_update (); - }cpu_maps_update_done ();return ret; }
@@ -2016,7 +2008,6 @@ static int cpuhp_smt_enable(void)cpu_maps_update_begin (); cpu_smt_control =CPU_SMT_ENABLED ; -arch_smt_update ();for_each_present_cpu (cpu) {/* Skip online CPUs and CPUs on offline nodes */ if (cpu_online (cpu) || !node_online (cpu_to_node (cpu)))
net/ipv6/route.c +8 -3
@@ -2292,7 +2292,6 @@ static void rt6_do_redirect(struct dst_entry *dst, struct sock *sk, struct sk_buif (on_link) nrt->rt6i_flags &= ~RTF_GATEWAY ; - nrt->rt6i_protocol =RTPROT_REDIRECT ; nrt->rt6i_gateway = *(struct in6_addr *)neigh->primary_key;if (ip6_ins_rt (nrt))
@@ -2397,7 +2396,6 @@ static struct rt6_info *rt6_add_route_info(struct net *net, .fc_dst_len = prefixlen, .fc_flags =RTF_GATEWAY |RTF_ADDRCONF |RTF_ROUTEINFO | RTF_UP | RTF_PREF(pref), - .fc_protocol = RTPROT_RA, .fc_nlinfo.portid = 0, .fc_nlinfo.nlh = NULL, .fc_nlinfo.nl_net = net,
@@ -2450,7 +2448,6 @@ struct rt6_info *rt6_add_dflt_router(const struct in6_addr *gwaddr, .fc_ifindex = dev->ifindex, .fc_flags =RTF_GATEWAY |RTF_ADDRCONF |RTF_DEFAULT | RTF_UP | RTF_EXPIRES | RTF_PREF(pref), - .fc_protocol = RTPROT_RA, .fc_nlinfo.portid = 0, .fc_nlinfo.nlh = NULL, .fc_nlinfo.nl_net = dev_net(dev),
@@ -3247,6 +3244,14 @@ static int rt6_fill_node(struct net *net, } rtm->rtm_scope =RT_SCOPE_UNIVERSE ; rtm->rtm_protocol = rt->rt6i_protocol; +if (rt->rt6i_flags &RTF_DYNAMIC ) + rtm->rtm_protocol =RTPROT_REDIRECT ; +else if (rt->rt6i_flags &RTF_ADDRCONF ) { +if (rt->rt6i_flags & (RTF_DEFAULT |RTF_ROUTEINFO )) + rtm->rtm_protocol =RTPROT_RA ; +else + rtm->rtm_protocol =RTPROT_KERNEL ; + }if (rt->rt6i_flags &RTF_CACHE ) rtm->rtm_flags |=RTM_F_CLONED ;