Linux 3.15.2
Greg KH
maintainerI'm announcing the release of the 3.15.2 kernel.
All users of the 3.15 kernel series must upgrade.
The updated 3.15.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.15.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
------------
Documentation/ABI/testing/ima_policy | 2 Makefile | 2 arch/arm/mach-at91/sysirq_mask.c | 22 +++-- arch/mips/kvm/kvm_mips.c | 2 arch/s390/kvm/interrupt.c | 4 arch/s390/kvm/kvm-s390.c | 2 arch/s390/kvm/kvm-s390.h | 1 arch/sparc/net/bpf_jit_comp.c | 8 - arch/x86/kvm/lapic.c | 62 ++++++++++----- drivers/hv/connection.c | 4 drivers/hv/hv_balloon.c | 29 ++++++- drivers/iio/adc/at91_adc.c | 16 +-- drivers/iio/adc/max1363.c | 16 +-- drivers/iio/adc/men_z188_adc.c | 4 drivers/iio/magnetometer/ak8975.c | 9 -- drivers/iio/pressure/mpl3115.c | 6 - drivers/net/ethernet/renesas/sh_eth.c | 32 +++++-- drivers/net/ethernet/renesas/sh_eth.h | 2 drivers/net/ethernet/sfc/io.h | 7 + drivers/net/ethernet/sfc/tx.c | 22 ++++- drivers/net/macvlan.c | 1 drivers/net/usb/qmi_wwan.c | 7 + drivers/net/vxlan.c | 7 - drivers/rtc/rtc-at91rm9200.c | 16 +++ drivers/staging/iio/adc/mxs-lradc.c | 12 +- drivers/staging/iio/light/tsl2x7x_core.c | 8 + drivers/target/iscsi/iscsi_target_auth.c | 10 ++ drivers/target/target_core_transport.c | 4 drivers/usb/class/cdc-acm.c | 125 ++++++++++++++++++------------- drivers/usb/class/cdc-acm.h | 2 include/sound/core.h | 2 include/uapi/sound/compress_offload.h | 2 lib/lz4/lz4_decompress.c | 2 lib/lzo/lzo1x_decompress_safe.c | 62 ++++++++++----- mm/shmem.c | 3 mm/slab.c | 90 +++++++++++++++++----- net/core/dev.c | 5 - net/core/rtnetlink.c | 23 ++++- net/ipv4/datagram.c | 20 +++- net/ipv4/ipip.c | 5 - net/ipv4/udp.c | 4 net/ipv6/ip6_tunnel.c | 1 net/ipv6/sit.c | 5 - net/ipv6/udp.c | 8 - net/mac80211/iface.c | 1 net/sctp/associola.c | 2 security/integrity/evm/evm_main.c | 12 ++ security/integrity/ima/ima_api.c | 10 ++ security/integrity/ima/ima_crypto.c | 32 +++++++ security/integrity/ima/ima_main.c | 5 - security/integrity/ima/ima_policy.c | 6 + security/integrity/integrity.h | 1 sound/core/control.c | 78 ++++++++++++------- sound/core/init.c | 1 sound/pci/hda/patch_hdmi.c | 10 ++ sound/pci/hda/patch_realtek.c | 24 +++++ sound/soc/codecs/max98090.c | 3 sound/soc/codecs/tlv320aic3x.c | 2 sound/soc/soc-dapm.c | 23 ++--- 59 files changed, 624 insertions(+), 262 deletions(-)
Alexei Starovoitov (2):
net: filter: fix typo in sparc BPF JIT
net: filter: fix sparc32 typo
Ben Dooks (1):
sh_eth: use RNC mode for packet reception
Bjørn Mork (1):
net: qmi_wwan: add Olivetti Olicard modems
Boris BREZILLON (2):
rtc: rtc-at91rm9200: fix infinite wait for ACKUPD irq
ARM: at91: fix at91_sysirq_mask_rtc for sam9x5 SoCs
Christian Borntraeger (1):
KVM: s390: Drop pending interrupts on guest exit
Cong Wang (1):
vxlan: use dev->needed_headroom instead of dev->hard_header_len
Dan Carpenter (2):
iio: adc: checking for NULL instead of IS_ERR() in probe
iio: adc: at91: signedness bug in at91_adc_get_trigger_value_by_name()
David Henningsson (1):
ALSA: hda - Add quirk for external mic on Lifebook U904
Dmitry Kasatkin (1):
ima: introduce ima_kernel_read()
Dmitry Popov (1):
ipip, sit: fix ipv4_{update_pmtu,redirect} calls
Eric Dumazet (3):
net: force a list_del() in unregister_netdevice_many()
ipv4: fix a race in ip4_datagram_release_cb()
udp: ipv4: do not waste time in __udp4_lib_mcast_demux_lookup
Greg Kroah-Hartman (3):
lzo: properly check for overruns
lz4: ensure length does not wrap
Linux 3.15.2
Hugh Dickins (1):
tmpfs: ZERO_RANGE and COLLAPSE_RANGE not currently supported
James Hogan (1):
MIPS: KVM: Allocate at least 16KB for exception handlers
Johan Hovold (10):
USB: cdc-acm: fix write and suspend race
USB: cdc-acm: fix write and resume race
USB: cdc-acm: fix broken runtime suspend
USB: cdc-acm: fix runtime PM for control messages
USB: cdc-acm: fix shutdown and suspend race
USB: cdc-acm: fix potential urb leak and PM imbalance in write
USB: cdc-acm: fix open and suspend race
USB: cdc-acm: fix failed open not being detected
USB: cdc-acm: fix I/O after failed open
USB: cdc-acm: fix runtime PM imbalance at shutdown
Jon Cooper (1):
sfc: PIO:Restrict to 64bit arch and use 64-bit writes.
Jonathan Cameron (1):
iio:adc:max1363 incorrect resolutions for max11604, max11605, max11610 and max11611.
Joonsoo Kim (1):
slab: fix oops when reading /proc/slab_allocators
K. Y. Srinivasan (1):
Drivers: hv: balloon: Ensure pressure reports are posted regularly
Kailang Yang (2):
ALSA: hda/realtek - Add support of ALC891 codec
ALSA: hda/realtek - Add more entry for enable HP mute led
Lars-Peter Clausen (6):
ASoC: dapm: Make sure to always update the DAPM graph in _put_volsw()
ALSA: control: Protect user controls against concurrent access
ALSA: control: Fix replacing user controls
ALSA: control: Don't access controls outside of protected regions
ALSA: control: Handle numid overflow
ALSA: control: Make sure that id->index does not overflow
Liam Girdwood (1):
ASoC: max98090: Fix reset at resume time
Mario Schuknecht (1):
staging: iio: tsl2x7x_core: fix proximity treshold
Mengdong Lin (1):
ALSA: hda - verify pin:converter connection on unsol event for HSW and VLV
Michal Schmidt (1):
rtnetlink: fix userspace API breakage for iproute2 < v3.9.0
Mimi Zohar (2):
ima: audit log files opened with O_DIRECT flag
evm: prohibit userspace writing 'security.evm' HMAC value
Nicholas Bellinger (2):
target: Fix NULL pointer dereference for XCOPY in target_put_sess_cmd
iscsi-target: Reject mutual authentication with reflected CHAP_C
Paolo Bonzini (1):
KVM: lapic: sync highest ISR to hardware apic on EOI
Peter Meerwald (2):
iio: Fix endianness issue in ak8975_read_axis()
iio: Fix two mpl3115 issues in measurement conversion
Peter Ujfalusi (1):
ASoC: tlv320aci3x: Fix custom snd_soc_dapm_put_volsw_aic3x() function
Radim Krčmář (1):
hv: use correct order when freeing monitor_pages
Robert Hodaszi (1):
iio: mxs-lradc: fix divider
Sergei Shtylyov (1):
sh_eth: fix SH7619/771x support
Sven Wegener (1):
ipv6: Fix regression caused by efe4208 in udp_v6_mcast_next()
Tom Gundersen (1):
net: tunnels - enable module autoloading
Wang, Xiaoming (1):
ALSA: compress: Cancel the optimization of compiler and fix the size of struct for all platform.
Xufeng Zhang (1):
sctp: Fix sk_ack_backlog wrap-around problem
Greg KH
maintainerDocumentation/ABI/testing/ima_policy +1 -1
@@ -23,7 +23,7 @@ Description: [fowner]] lsm: [[subj_user=] [subj_role=] [subj_type=] [obj_user=] [obj_role=] [obj_type=]] - option: [[appraise_type=]] + option: [[appraise_type=]] [permit_directio] base: func:= [BPRM_CHECK][MMAP_CHECK][FILE_CHECK][MODULE_CHECK] mask:= [MAY_READ] [MAY_WRITE] [MAY_APPEND] [MAY_EXEC]
Makefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 15 -SUBLEVEL = 1 +SUBLEVEL = 2 EXTRAVERSION = NAME = Shuffling Zombie Juror
arch/arm/mach-at91/sysirq_mask.c +13 -9
@@ -25,24 +25,28 @@#include "generic.h" -#define AT91_RTC_IDR 0x24/* Interrupt Disable Register */ -#define AT91_RTC_IMR 0x28/* Interrupt Mask Register */ +#define AT91_RTC_IDR 0x24/* Interrupt Disable Register */ +#define AT91_RTC_IMR 0x28/* Interrupt Mask Register */ +#define AT91_RTC_IRQ_MASK 0x1f/* Available IRQs mask */ void __init at91_sysirq_mask_rtc (u32 rtc_base) {void __iomem *base; -u32 mask; base =ioremap (rtc_base,64 );if (!base)return ; - mask =readl_relaxed (base +AT91_RTC_IMR ); -if (mask) { -pr_info ("AT91: Disabling rtc irq\n" ); -writel_relaxed (mask, base +AT91_RTC_IDR ); - (void )readl_relaxed (base +AT91_RTC_IMR );/* flush */ - } +/* +* sam9x5 SoCs have the following errata: +* "RTC: Interrupt Mask Register cannot be used +* Interrupt Mask Register read always returns 0." +* +* Hence we're not relying on IMR values to disable +* interrupts. +*/ +writel_relaxed (AT91_RTC_IRQ_MASK , base +AT91_RTC_IDR ); + (void )readl_relaxed (base +AT91_RTC_IMR );/* flush */ iounmap (base); }
arch/mips/kvm/kvm_mips.c +1 -1
@@ -304,7 +304,7 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id)if (cpu_has_veic || cpu_has_vint) { size =0x200 +VECTORSPACING *64 ; }else { - size =0x200 ; + size =0x4000 ; }/* Save Linux EBASE */
arch/s390/kvm/interrupt.c +2 -2
@@ -900,7 +900,7 @@ int kvm_s390_inject_vcpu(struct kvm_vcpu *vcpu,return 0 ; } -static void clear_floating_interrupts (struct kvm *kvm) +void kvm_s390_clear_float_irqs (struct kvm *kvm) {struct kvm_s390_float_interrupt *fi;struct kvm_s390_interrupt_info *n, *inti =NULL ;
@@ -1246,7 +1246,7 @@ static int flic_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr)break ;case KVM_DEV_FLIC_CLEAR_IRQS : r =0 ; -clear_floating_interrupts (dev->kvm); +kvm_s390_clear_float_irqs (dev->kvm);break ;case KVM_DEV_FLIC_APF_ENABLE : dev->kvm->arch.gmap->pfault_enabled =1 ;
arch/s390/kvm/kvm-s390.c +2 -0
@@ -322,6 +322,7 @@ void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) {VCPU_EVENT (vcpu,3 ,"%s" ,"free cpu" );trace_kvm_s390_destroy_vcpu (vcpu->vcpu_id); +kvm_s390_clear_local_irqs (vcpu);kvm_clear_async_pf_completion_queue (vcpu);if (!kvm_is_ucontrol (vcpu->kvm)) { clear_bit(63 - vcpu->vcpu_id,
@@ -372,6 +373,7 @@ void kvm_arch_destroy_vm(struct kvm *kvm)if (!kvm_is_ucontrol (kvm))gmap_free (kvm->arch.gmap);kvm_s390_destroy_adapters (kvm); +kvm_s390_clear_float_irqs (kvm); }/* Section: vcpu related */
arch/s390/kvm/kvm-s390.h +1 -0
@@ -130,6 +130,7 @@ void kvm_s390_tasklet(unsigned long parm);void kvm_s390_deliver_pending_interrupts (struct kvm_vcpu *vcpu);void kvm_s390_deliver_pending_machine_checks (struct kvm_vcpu *vcpu);void kvm_s390_clear_local_irqs (struct kvm_vcpu *vcpu); +void kvm_s390_clear_float_irqs (struct kvm *kvm);int __must_check kvm_s390_inject_vm (struct kvm *kvm,struct kvm_s390_interrupt *s390int); int __must_check kvm_s390_inject_vcpu(struct kvm_vcpu *vcpu,
arch/sparc/net/bpf_jit_comp.c +4 -4
@@ -83,9 +83,9 @@ static void bpf_flush_icache(void *start_, void *end_)#define BNE (F2(0, 2) | CONDNE)#ifdef CONFIG_SPARC64 -#define BNE_PTR (F2(0, 1) | CONDNE | (2 << 20)) +#define BE_PTR (F2(0, 1) | CONDE | (2 << 20))#else -#define BNE_PTR BNE +#define BE_PTR BE#endif #define SETHI (K ,REG ) \
@@ -600,7 +600,7 @@ void bpf_jit_compile(struct sk_filter *fp)case BPF_S_ANC_IFINDEX :emit_skb_loadptr (dev, r_A);emit_cmpi (r_A,0 ); -emit_branch (BNE_PTR , cleanup_addr +4 ); +emit_branch (BE_PTR , cleanup_addr +4 );emit_nop (); emit_load32(r_A, struct net_device, ifindex, r_A);break ;
@@ -613,7 +613,7 @@ void bpf_jit_compile(struct sk_filter *fp)case BPF_S_ANC_HATYPE :emit_skb_loadptr (dev, r_A);emit_cmpi (r_A,0 ); -emit_branch (BNE_PTR , cleanup_addr +4 ); +emit_branch (BE_PTR , cleanup_addr +4 );emit_nop (); emit_load16(r_A, struct net_device, type, r_A);break ;
arch/x86/kvm/lapic.c +43 -19
89 lines not on this page · raw message
drivers/hv/connection.c +2 -2
@@ -224,8 +224,8 @@ cleanup: vmbus_connection.int_page =NULL ; } -free_pages ((unsigned long )vmbus_connection.monitor_pages[0 ],1 ); -free_pages ((unsigned long )vmbus_connection.monitor_pages[1 ],1 ); +free_pages ((unsigned long )vmbus_connection.monitor_pages[0 ],0 ); +free_pages ((unsigned long )vmbus_connection.monitor_pages[1 ],0 ); vmbus_connection.monitor_pages[0 ] =NULL ; vmbus_connection.monitor_pages[1 ] =NULL ;
drivers/hv/hv_balloon.c +26 -3
@@ -19,6 +19,7 @@#define pr_fmt (fmt) KBUILD_MODNAME ": " fmt#include <linux/kernel.h> +#include <linux/jiffies.h> #include <linux/mman.h> #include <linux/delay.h> #include <linux/init.h>
@@ -459,6 +460,11 @@ static bool do_hot_add;*/ static uint pressure_report_delay =45 ; +/* +* The last time we posted a pressure report to host. +*/ +static unsigned long last_post_time; +module_param (hot_add, bool, (S_IRUGO |S_IWUSR ));MODULE_PARM_DESC (hot_add,"If set attempt memory hot_add" );
@@ -542,6 +548,7 @@ struct hv_dynmem_device {static struct hv_dynmem_device dm_device; +static void post_status (struct hv_dynmem_device *dm);#ifdef CONFIG_MEMORY_HOTPLUG static void hv_bring_pgs_online (unsigned long start_pfn,unsigned long size)
@@ -612,7 +619,7 @@ static void hv_mem_hot_add(unsigned long start, unsigned long size,* have not been "onlined" within the allowed time. */ wait_for_completion_timeout (&dm_device.ol_waitevent,5 *HZ ); - +post_status (&dm_device); }return ;
@@ -951,11 +958,17 @@ static void post_status(struct hv_dynmem_device *dm) {struct dm_status status;struct sysinfo val; +unsigned long now = jiffies; +unsigned long last_post = last_post_time;if (pressure_report_delay >0 ) { --pressure_report_delay;return ; } + +if (!time_after (now, (last_post_time +HZ ))) +return ; +si_meminfo (&val);memset (&status,0 ,sizeof (struct dm_status )); status.hdr.type =DM_STATUS_REPORT ;
@@ -983,6 +996,14 @@ static void post_status(struct hv_dynmem_device *dm)if (status.hdr.trans_id !=atomic_read (&trans_id))return ; +/* +* If the last post time that we sampled has changed, +* we have raced, don't post the status. +*/ +if (last_post != last_post_time) +return ; + + last_post_time = jiffies; vmbus_sendpacket(dm->dev->channel, &status, sizeof(struct dm_status), (unsigned long)NULL,
@@ -1117,7 +1138,7 @@ static void balloon_up(struct work_struct *dummy)if (ret == -EAGAIN )msleep (20 ); - +post_status (&dm_device); }while (ret == -EAGAIN );if (ret) {
@@ -1144,8 +1165,10 @@ static void balloon_down(struct hv_dynmem_device *dm,struct dm_unballoon_response resp;int i; -for (i =0 ; i < range_count; i++) +for (i =0 ; i < range_count; i++) {free_balloon_pages (dm, &range_array[i]); +post_status (&dm_device); + }if (req->more_pages ==1 )return ;
drivers/iio/adc/at91_adc.c +8 -8
@@ -322,12 +322,11 @@ static int at91_adc_channel_init(struct iio_dev *idev)return idev->num_channels; } -static u8 at91_adc_get_trigger_value_by_name (struct iio_dev *idev, +static int at91_adc_get_trigger_value_by_name (struct iio_dev *idev,struct at91_adc_trigger *triggers,const char *trigger_name) {struct at91_adc_state *st =iio_priv (idev); -u8 value =0 ;int i;for (i =0 ; i < st->trigger_number; i++) {
@@ -340,15 +339,16 @@ static u8 at91_adc_get_trigger_value_by_name(struct iio_dev *idev,return -ENOMEM ;if (strcmp (trigger_name, name) ==0 ) { - value = triggers[i].value;kfree (name); -break ; +if (triggers[i].value ==0 ) +return -EINVAL ; +return triggers[i].value; }kfree (name); } -return value; +return -EINVAL ; }static int at91_adc_configure_trigger (struct iio_trigger *trig,bool state)
@@ -358,14 +358,14 @@ static int at91_adc_configure_trigger(struct iio_trigger *trig, bool state)struct iio_buffer *buffer = idev->buffer;struct at91_adc_reg_desc *reg = st->registers;u32 status =at91_adc_readl (st, reg->trigger_register); -u8 value; +int value;u8 bit; value =at91_adc_get_trigger_value_by_name (idev, st->trigger_list, idev->trig->name); -if (value ==0 ) -return -EINVAL ; +if (value <0 ) +return value;if (state) { st->buffer =kmalloc (idev->scan_bytes,GFP_KERNEL );
drivers/iio/adc/max1363.c +8 -8
@@ -1252,8 +1252,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = { .num_modes = ARRAY_SIZE(max1238_mode_list), .default_mode = s0to11, .info = &max1238_info, - .channels = max1238_channels, - .num_channels = ARRAY_SIZE(max1238_channels), + .channels = max1038_channels, + .num_channels = ARRAY_SIZE(max1038_channels), }, [max11605] = { .bits = 8,
@@ -1262,8 +1262,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = { .num_modes = ARRAY_SIZE(max1238_mode_list), .default_mode = s0to11, .info = &max1238_info, - .channels = max1238_channels, - .num_channels = ARRAY_SIZE(max1238_channels), + .channels = max1038_channels, + .num_channels = ARRAY_SIZE(max1038_channels), }, [max11606] = { .bits = 10,
@@ -1312,8 +1312,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = { .num_modes = ARRAY_SIZE(max1238_mode_list), .default_mode = s0to11, .info = &max1238_info, - .channels = max1238_channels, - .num_channels = ARRAY_SIZE(max1238_channels), + .channels = max1138_channels, + .num_channels = ARRAY_SIZE(max1138_channels), }, [max11611] = { .bits = 10,
@@ -1322,8 +1322,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = { .num_modes = ARRAY_SIZE(max1238_mode_list), .default_mode = s0to11, .info = &max1238_info, - .channels = max1238_channels, - .num_channels = ARRAY_SIZE(max1238_channels), + .channels = max1138_channels, + .num_channels = ARRAY_SIZE(max1138_channels), }, [max11612] = { .bits = 12,
drivers/iio/adc/men_z188_adc.c +2 -2
@@ -121,8 +121,8 @@ static int men_z188_probe(struct mcb_device *dev, indio_dev->num_channels =ARRAY_SIZE (z188_adc_iio_channels); mem =mcb_request_mem (dev,"z188-adc" ); -if (!mem) -return -ENOMEM ; +if (IS_ERR (mem)) +return PTR_ERR (mem); adc->base =ioremap (mem->start,resource_size (mem));if (adc->base ==NULL )
drivers/iio/magnetometer/ak8975.c +1 -8
@@ -352,8 +352,6 @@ static int ak8975_read_axis(struct iio_dev *indio_dev, int index, int *val) {struct ak8975_data *data =iio_priv (indio_dev);struct i2c_client *client = data->client; -u16 meas_reg; -s16 raw;int ret;mutex_lock (&data->lock);
@@ -401,16 +399,11 @@ static int ak8975_read_axis(struct iio_dev *indio_dev, int index, int *val)dev_err (&client->dev,"Read axis data fails\n" ); goto exit; } - meas_reg = ret;mutex_unlock (&data->lock); -/* Endian conversion of the measured values. */ - raw = (s16) (le16_to_cpu (meas_reg)); -/* Clamp to valid range. */ - raw =clamp_t (s16, raw,-4096 ,4095 ); - *val = raw; + *val =clamp_t (s16, ret,-4096 ,4095 );return IIO_VAL_INT ; exit:
drivers/iio/pressure/mpl3115.c +3 -3
@@ -98,7 +98,7 @@ static int mpl3115_read_raw(struct iio_dev *indio_dev,mutex_unlock (&data->lock);if (ret <0 )return ret; - *val =sign_extend32 (be32_to_cpu (tmp) >>12 ,23 ); + *val =be32_to_cpu (tmp) >>12 ;return IIO_VAL_INT ;case IIO_TEMP :/* in 0.0625 celsius / LSB */ mutex_lock (&data->lock);
@@ -112,7 +112,7 @@ static int mpl3115_read_raw(struct iio_dev *indio_dev,mutex_unlock (&data->lock);if (ret <0 )return ret; - *val =sign_extend32 (be32_to_cpu (tmp) >>20 ,15 ); + *val =sign_extend32 (be32_to_cpu (tmp) >>20 ,11 );return IIO_VAL_INT ;default :return -EINVAL ;
@@ -185,7 +185,7 @@ static const struct iio_chan_spec mpl3115_channels[] = {BIT (IIO_CHAN_INFO_SCALE ), .scan_index = 0, .scan_type = { - .sign ='s' , + .sign ='u' , .realbits =20 , .storagebits =32 , .shift =12 ,
drivers/net/ethernet/renesas/sh_eth.c +23 -9
@@ -307,6 +307,27 @@ static const u16 sh_eth_offset_fast_sh4[SH_ETH_MAX_REGISTER_OFFSET] = { };static const u16 sh_eth_offset_fast_sh3_sh2[SH_ETH_MAX_REGISTER_OFFSET ] = { + [EDMR ] =0x0000 , + [EDTRR ] =0x0004 , + [EDRRR ] =0x0008 , + [TDLAR ] =0x000c , + [RDLAR ] =0x0010 , + [EESR ] =0x0014 , + [EESIPR ] =0x0018 , + [TRSCER ] =0x001c , + [RMFCR ] =0x0020 , + [TFTR ] =0x0024 , + [FDR ] =0x0028 , + [RMCR ] =0x002c , + [EDOCR ] =0x0030 , + [FCFTR ] =0x0034 , + [RPADIR ] =0x0038 , + [TRIMD ] =0x003c , + [RBWAR ] =0x0040 , + [RDFAR ] =0x0044 , + [TBRAR ] =0x004c , + [TDFAR ] =0x0050 , + [ECMR ] =0x0160 , [ECSR ] =0x0164 , [ECSIPR ] =0x0168 ,
@@ -546,7 +567,6 @@ static struct sh_eth_cpu_data sh7757_data = { .register_type = SH_ETH_REG_FAST_SH4, .eesipr_value = DMAC_M_RFRMER | DMAC_M_ECI | 0x003fffff, - .rmcr_value = RMCR_RNC, .tx_check = EESR_FTC | EESR_CND | EESR_DLC | EESR_CD | EESR_RTO, .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE |
@@ -624,7 +644,6 @@ static struct sh_eth_cpu_data sh7757_data_giga = {EESR_RFE |EESR_RDE |EESR_RFRMER |EESR_TFE | EESR_TDE | EESR_ECI, .fdr_value = 0x0000072f, - .rmcr_value = RMCR_RNC, .irq_flags = IRQF_SHARED, .apr = 1,
@@ -752,7 +771,6 @@ static struct sh_eth_cpu_data r8a7740_data = {EESR_RFE |EESR_RDE |EESR_RFRMER |EESR_TFE | EESR_TDE | EESR_ECI, .fdr_value = 0x0000070f, - .rmcr_value = RMCR_RNC, .apr = 1, .mpr = 1,
@@ -784,7 +802,6 @@ static struct sh_eth_cpu_data r7s72100_data = {EESR_RFE |EESR_RDE |EESR_RFRMER |EESR_TFE | EESR_TDE | EESR_ECI, .fdr_value = 0x0000070f, - .rmcr_value = RMCR_RNC, .no_psr = 1, .apr = 1,
@@ -833,9 +850,6 @@ static void sh_eth_set_default_cpu_data(struct sh_eth_cpu_data *cd)if (!cd->fdr_value) cd->fdr_value =DEFAULT_FDR_INIT ; -if (!cd->rmcr_value) - cd->rmcr_value =DEFAULT_RMCR_VALUE ; -if (!cd->tx_check) cd->tx_check =DEFAULT_TX_CHECK ;
@@ -1287,8 +1301,8 @@ static int sh_eth_dev_init(struct net_device *ndev, bool start)sh_eth_write (ndev, mdp->cd->fdr_value,FDR );sh_eth_write (ndev,0 ,TFTR ); -/* Frame recv control */ -sh_eth_write (ndev, mdp->cd->rmcr_value,RMCR ); +/* Frame recv control (enable multiple-packets per rx irq) */ +sh_eth_write (ndev,RMCR_RNC ,RMCR );sh_eth_write (ndev,DESC_I_RINT8 |DESC_I_RINT5 |DESC_I_TINT2 ,TRSCER );
drivers/net/ethernet/renesas/sh_eth.h +0 -2
@@ -319,7 +319,6 @@ enum TD_STS_BIT {enum RMCR_BIT {RMCR_RNC =0x00000001 , }; -#define DEFAULT_RMCR_VALUE 0x00000000/* ECMR */ enum FELIC_MODE_BIT {
@@ -466,7 +465,6 @@ struct sh_eth_cpu_data {unsigned long fdr_value;unsigned long fcftr_value;unsigned long rpadir_value; -unsigned long rmcr_value;/* interrupt checking mask */ unsigned long tx_check;
drivers/net/ethernet/sfc/io.h +7 -0
@@ -66,10 +66,17 @@#define EFX_USE_QWORD_IO 1#endif +/* Hardware issue requires that only 64-bit naturally aligned writes +* are seen by hardware. Its not strictly necessary to restrict to +* x86_64 arch, but done for safety since unusual write combining behaviour +* can break PIO. +*/ +#ifdef CONFIG_X86_64 /* PIO is a win only if write-combining is possible */ #ifdef ARCH_HAS_IOREMAP_WC #define EFX_USE_PIO 1#endif +#endif #ifdef EFX_USE_QWORD_IO static inline void _efx_writeq(struct efx_nic *efx, __le64 value,
drivers/net/ethernet/sfc/tx.c +17 -5
@@ -189,6 +189,18 @@ struct efx_short_copy_buffer {u8 buf[L1_CACHE_BYTES ]; }; +/* Copy in explicit 64-bit writes. */ +static void efx_memcpy_64 (void __iomem *dest,void *src,size_t len) +{ +u64 *src64 = src; +u64 __iomem *dest64 = dest; +size_t l64 = len /8 ; +size_t i; + +for (i =0 ; i < l64; i++) +writeq (src64[i], &dest64[i]); +} +/* Copy to PIO, respecting that writes to PIO buffers must be dword aligned. * Advances piobuf pointer. Leaves additional data in the copy buffer. */
@@ -198,7 +210,7 @@ static void efx_memcpy_toio_aligned(struct efx_nic *efx, u8 __iomem **piobuf, {int block_len = len & ~(sizeof (copy_buf->buf) -1 ); -memcpy_toio (*piobuf, data, block_len); +efx_memcpy_64 (*piobuf, data, block_len); *piobuf += block_len; len -= block_len;
@@ -230,7 +242,7 @@ static void efx_memcpy_toio_aligned_cb(struct efx_nic *efx, u8 __iomem **piobuf,if (copy_buf->used <sizeof (copy_buf->buf))return ; -memcpy_toio (*piobuf, copy_buf->buf,sizeof (copy_buf->buf)); +efx_memcpy_64 (*piobuf, copy_buf->buf,sizeof (copy_buf->buf)); *piobuf +=sizeof (copy_buf->buf); data += copy_to_buf; len -= copy_to_buf;
@@ -245,7 +257,7 @@ static void efx_flush_copy_buffer(struct efx_nic *efx, u8 __iomem *piobuf, {/* if there's anything in it, write the whole buffer, including junk */ if (copy_buf->used) -memcpy_toio (piobuf, copy_buf->buf,sizeof (copy_buf->buf)); +efx_memcpy_64 (piobuf, copy_buf->buf,sizeof (copy_buf->buf)); }/* Traverse skb structure and copy fragments in to PIO buffer.
@@ -304,8 +316,8 @@ efx_enqueue_skb_pio(struct efx_tx_queue *tx_queue, struct sk_buff *skb)*/ BUILD_BUG_ON (L1_CACHE_BYTES >SKB_DATA_ALIGN (sizeof (struct skb_shared_info ))); -memcpy_toio (tx_queue->piobuf, skb->data, -ALIGN (skb->len,L1_CACHE_BYTES )); +efx_memcpy_64 (tx_queue->piobuf, skb->data, +ALIGN (skb->len,L1_CACHE_BYTES )); } EFX_POPULATE_QWORD_5(buffer->option,
drivers/net/macvlan.c +0 -1
@@ -1036,7 +1036,6 @@ static int macvlan_device_event(struct notifier_block *unused,list_for_each_entry_safe (vlan, next, &port->vlans, list) vlan->dev->rtnl_link_ops->dellink (vlan->dev, &list_kill);unregister_netdevice_many (&list_kill); -list_del (&list_kill);break ;case NETDEV_PRE_TYPE_CHANGE :/* Forbid underlaying device to change its type. */
drivers/net/usb/qmi_wwan.c +6 -1
@@ -763,7 +763,12 @@ static const struct usb_device_id products[] = { {QMI_FIXED_INTF(0x2357, 0x9000, 4)}, /* TP-LINK MA260 */ {QMI_FIXED_INTF(0x1bc7, 0x1200, 5)}, /* Telit LE920 */ {QMI_FIXED_INTF(0x1bc7, 0x1201, 2)}, /* Telit LE920 */ - {QMI_FIXED_INTF(0x0b3c, 0xc005, 6)}, /* Olivetti Olicard 200 */ + {QMI_FIXED_INTF(0x0b3c, 0xc000, 4)}, /* Olivetti Olicard 100 */ + {QMI_FIXED_INTF(0x0b3c, 0xc001, 4)}, /* Olivetti Olicard 120 */ + {QMI_FIXED_INTF(0x0b3c, 0xc002, 4)}, /* Olivetti Olicard 140 */ + {QMI_FIXED_INTF(0x0b3c, 0xc004, 6)}, /* Olivetti Olicard 155 */ + {QMI_FIXED_INTF(0x0b3c, 0xc005, 6)}, /* Olivetti Olicard 200 */ + {QMI_FIXED_INTF(0x0b3c, 0xc00a, 6)}, /* Olivetti Olicard 160 */ {QMI_FIXED_INTF(0x0b3c, 0xc00b, 4)}, /* Olivetti Olicard 500 */ {QMI_FIXED_INTF(0x1e2d, 0x0060, 4)}, /* Cinterion PLxx */ {QMI_FIXED_INTF(0x1e2d, 0x0053, 4)}, /* Cinterion PHxx,PXxx */
drivers/net/vxlan.c +3 -4
@@ -2275,9 +2275,9 @@ static void vxlan_setup(struct net_device *dev)eth_hw_addr_random (dev);ether_setup (dev);if (vxlan->default_dst.remote_ip.sa.sa_family ==AF_INET6 ) - dev->hard_header_len =ETH_HLEN +VXLAN6_HEADROOM ; + dev->needed_headroom =ETH_HLEN +VXLAN6_HEADROOM ;else - dev->hard_header_len =ETH_HLEN +VXLAN_HEADROOM ; + dev->needed_headroom =ETH_HLEN +VXLAN_HEADROOM ; dev->netdev_ops = &vxlan_netdev_ops; dev->destructor = free_netdev;
@@ -2660,8 +2660,7 @@ static int vxlan_newlink(struct net *net, struct net_device *dev,if (!tb[IFLA_MTU ]) dev->mtu = lowerdev->mtu - (use_ipv6 ?VXLAN6_HEADROOM :VXLAN_HEADROOM ); -/* update header length based on lower device */ - dev->hard_header_len = lowerdev->hard_header_len + + dev->needed_headroom = lowerdev->hard_header_len + (use_ipv6 ?VXLAN6_HEADROOM :VXLAN_HEADROOM ); }else if (use_ipv6) vxlan->flags |=VXLAN_F_IPV6 ;
drivers/rtc/rtc-at91rm9200.c +14 -2
@@ -48,6 +48,7 @@ struct at91_rtc_config {static const struct at91_rtc_config *at91_rtc_config;static DECLARE_COMPLETION (at91_rtc_updated); +static DECLARE_COMPLETION (at91_rtc_upd_rdy);static unsigned int at91_alarm_year =AT91_RTC_EPOCH ;static void __iomem *at91_rtc_regs;static int irq;
@@ -161,6 +162,8 @@ static int at91_rtc_settime(struct device *dev, struct rtc_time *tm)1900 + tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); +wait_for_completion (&at91_rtc_upd_rdy); +/* Stop Time/Calendar from counting */ cr =at91_rtc_read (AT91_RTC_CR );at91_rtc_write (AT91_RTC_CR , cr |AT91_RTC_UPDCAL |AT91_RTC_UPDTIM );
@@ -183,7 +186,9 @@ static int at91_rtc_settime(struct device *dev, struct rtc_time *tm)/* Restart Time/Calendar */ cr =at91_rtc_read (AT91_RTC_CR ); +at91_rtc_write (AT91_RTC_SCCR ,AT91_RTC_SECEV );at91_rtc_write (AT91_RTC_CR , cr & ~(AT91_RTC_UPDCAL |AT91_RTC_UPDTIM )); +at91_rtc_write_ier (AT91_RTC_SECEV );return 0 ; }
@@ -290,8 +295,10 @@ static irqreturn_t at91_rtc_interrupt(int irq, void *dev_id)if (rtsr) {/* this interrupt is shared! Is it ours? */ if (rtsr &AT91_RTC_ALARM ) events |= (RTC_AF |RTC_IRQF ); -if (rtsr &AT91_RTC_SECEV ) - events |= (RTC_UF |RTC_IRQF ); +if (rtsr &AT91_RTC_SECEV ) { +complete (&at91_rtc_upd_rdy); +at91_rtc_write_idr (AT91_RTC_SECEV ); + }if (rtsr &AT91_RTC_ACKUPD )complete (&at91_rtc_updated);
@@ -413,6 +420,11 @@ static int __init at91_rtc_probe(struct platform_device *pdev)return PTR_ERR (rtc);platform_set_drvdata (pdev, rtc); +/* enable SECEV interrupt in order to initialize at91_rtc_upd_rdy +* completion. +*/ +at91_rtc_write_ier (AT91_RTC_SECEV ); +dev_info (&pdev->dev,"AT91 Real Time Clock driver.\n" );return 0 ; }
drivers/staging/iio/adc/mxs-lradc.c +8 -4
@@ -846,6 +846,14 @@ static int mxs_lradc_read_single(struct iio_dev *iio_dev, int chan, int *val) LRADC_CTRL1);mxs_lradc_reg_clear (lradc,0xff ,LRADC_CTRL0 ); +/* Enable / disable the divider per requirement */ +if (test_bit (chan, &lradc->is_divided)) +mxs_lradc_reg_set (lradc,1 <<LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET , +LRADC_CTRL2 ); +else +mxs_lradc_reg_clear (lradc, +1 <<LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET ,LRADC_CTRL2 ); +/* Clean the slot's previous content, then set new one. */ mxs_lradc_reg_clear (lradc,LRADC_CTRL4_LRADCSELECT_MASK (0 ),LRADC_CTRL4 );
@@ -961,15 +969,11 @@ static int mxs_lradc_write_raw(struct iio_dev *iio_dev,if (val == scale_avail[MXS_LRADC_DIV_DISABLED ].integer && val2 == scale_avail[MXS_LRADC_DIV_DISABLED ].nano) {/* divider by two disabled */ -writel (1 <<LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET , - lradc->base +LRADC_CTRL2 +STMP_OFFSET_REG_CLR );clear_bit (chan->channel, &lradc->is_divided); ret =0 ; }else if (val == scale_avail[MXS_LRADC_DIV_ENABLED ].integer && val2 == scale_avail[MXS_LRADC_DIV_ENABLED ].nano) {/* divider by two enabled */ -writel (1 <<LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET , - lradc->base +LRADC_CTRL2 +STMP_OFFSET_REG_SET );set_bit (chan->channel, &lradc->is_divided); ret =0 ; }
drivers/staging/iio/light/tsl2x7x_core.c +6 -2
@@ -667,9 +667,13 @@ static int tsl2x7x_chip_on(struct iio_dev *indio_dev) chip->tsl2x7x_config[TSL2X7X_PRX_COUNT ] = chip->tsl2x7x_settings.prox_pulse_count; chip->tsl2x7x_config[TSL2X7X_PRX_MINTHRESHLO ] = - chip->tsl2x7x_settings.prox_thres_low; + (chip->tsl2x7x_settings.prox_thres_low) &0xFF ; + chip->tsl2x7x_config[TSL2X7X_PRX_MINTHRESHHI ] = + (chip->tsl2x7x_settings.prox_thres_low >>8 ) &0xFF ; chip->tsl2x7x_config[TSL2X7X_PRX_MAXTHRESHLO ] = - chip->tsl2x7x_settings.prox_thres_high; + (chip->tsl2x7x_settings.prox_thres_high) &0xFF ; + chip->tsl2x7x_config[TSL2X7X_PRX_MAXTHRESHHI ] = + (chip->tsl2x7x_settings.prox_thres_high >>8 ) &0xFF ;/* and make sure we're not already on */ if (chip->tsl2x7x_chip_status ==TSL2X7X_CHIP_WORKING ) {
drivers/target/iscsi/iscsi_target_auth.c +10 -0
@@ -314,6 +314,16 @@ static int chap_server_compute_md5( goto out; }/* +* During mutual authentication, the CHAP_C generated by the +* initiator must not match the original CHAP_C generated by +* the target. +*/ +if (!memcmp (challenge_binhex, chap->challenge,CHAP_CHALLENGE_LENGTH )) { +pr_err ("initiator CHAP_C matches target CHAP_C, failing" +" login attempt\n" ); + goto out; + } +/* * Generate CHAP_N and CHAP_R for mutual authentication. */ tfm =crypto_alloc_hash ("md5" ,0 ,CRYPTO_ALG_ASYNC );
drivers/target/target_core_transport.c +4 -0
@@ -2407,6 +2407,10 @@ static void target_release_cmd_kref(struct kref *kref)*/ int target_put_sess_cmd (struct se_session *se_sess,struct se_cmd *se_cmd) { +if (!se_sess) { + se_cmd->se_tfo->release_cmd (se_cmd); +return 1 ; + }return kref_put_spinlock_irqsave (&se_cmd->cmd_kref, target_release_cmd_kref, &se_sess->sess_cmd_lock); }
drivers/usb/class/cdc-acm.c +75 -50
246 lines not on this page · raw message
drivers/usb/class/cdc-acm.h +1 -1
@@ -120,7 +120,7 @@ struct acm { unsigned int throttled:1; /* actually throttled */ unsigned int throttle_req:1; /* throttle requested */u8 bInterval; -struct acm_wb *delayed_wb;/* write queued for a device about to be woken */ +struct usb_anchor delayed;/* writes queued for a device about to be woken */ };#define CDC_DATA_INTERFACE_TYPE 0x0a
include/sound/core.h +2 -0
@@ -116,6 +116,8 @@ struct snd_card {int user_ctl_count;/* count of all user controls */ struct list_head controls;/* all controls for this card */ struct list_head ctl_files;/* active control files */ +struct mutex user_ctl_lock;/* protects user controls against +concurrent access */ struct snd_info_entry *proc_root;/* root for soundcard specific files */ struct snd_info_entry *proc_id;/* the card id */
include/uapi/sound/compress_offload.h +1 -1
@@ -80,7 +80,7 @@ struct snd_compr_tstamp {struct snd_compr_avail {__u64 avail;struct snd_compr_tstamp tstamp; -}; +} __attribute__((packed));enum snd_compr_direction {SND_COMPRESS_PLAYBACK =0 ,
lib/lz4/lz4_decompress.c +2 -0
@@ -72,6 +72,8 @@ static int lz4_uncompress(const char *source, char *dest, int osize) len = *ip++;for (; len ==255 ; length +=255 ) len = *ip++; +if (unlikely (length > (size_t )(length + len))) + goto _output_error; length += len; }
lib/lzo/lzo1x_decompress_safe.c +41 -21
144 lines not on this page · raw message
mm/shmem.c +3 -0
@@ -1728,6 +1728,9 @@ static long shmem_fallocate(struct file *file, int mode, loff_t offset,pgoff_t start, index, end;int error; +if (mode & ~(FALLOC_FL_KEEP_SIZE |FALLOC_FL_PUNCH_HOLE )) +return -EOPNOTSUPP ; +mutex_lock (&inode->i_mutex);if (mode &FALLOC_FL_PUNCH_HOLE ) {
mm/slab.c +71 -19
183 lines not on this page · raw message
net/core/dev.c +4 -1
@@ -6613,6 +6613,9 @@ EXPORT_SYMBOL(unregister_netdevice_queue);/** * unregister_netdevice_many - unregister many devices * @head: list of devices +* +* Note: As most callers use a stack allocated list_head, +* we force a list_del() to make sure stack wont be corrupted later. */ void unregister_netdevice_many (struct list_head *head) {
@@ -6622,6 +6625,7 @@ void unregister_netdevice_many(struct list_head *head)rollback_registered_many (head);list_for_each_entry (dev, head, unreg_list)net_set_todo (dev); +list_del (head); } }EXPORT_SYMBOL (unregister_netdevice_many);
@@ -7077,7 +7081,6 @@ static void __net_exit default_device_exit_batch(struct list_head *net_list) } }unregister_netdevice_many (&dev_kill_list); -list_del (&dev_kill_list);rtnl_unlock (); }
net/core/rtnetlink.c +18 -5
@@ -1234,6 +1234,7 @@ static int rtnl_dump_ifinfo(struct sk_buff *skb, struct netlink_callback *cb)struct nlattr *tb[IFLA_MAX +1 ];u32 ext_filter_mask =0 ;int err; +int hdrlen; s_h = cb->args[0 ]; s_idx = cb->args[1 ];
@@ -1241,8 +1242,17 @@ static int rtnl_dump_ifinfo(struct sk_buff *skb, struct netlink_callback *cb)rcu_read_lock (); cb->seq = net->dev_base_seq; -if (nlmsg_parse (cb->nlh,sizeof (struct ifinfomsg ), tb,IFLA_MAX , - ifla_policy) >=0 ) { +/* A hack to preserve kernel<->userspace interface. +* The correct header is ifinfomsg. It is consistent with rtnl_getlink. +* However, before Linux v3.9 the code here assumed rtgenmsg and that's +* what iproute2 < v3.9.0 used. +* We can detect the old iproute2. Even including the IFLA_EXT_MASK +* attribute, its netlink message is shorter than struct ifinfomsg. +*/ + hdrlen =nlmsg_len (cb->nlh) <sizeof (struct ifinfomsg ) ? +sizeof (struct rtgenmsg ) :sizeof (struct ifinfomsg ); + +if (nlmsg_parse (cb->nlh, hdrlen, tb,IFLA_MAX , ifla_policy) >=0 ) {if (tb[IFLA_EXT_MASK ]) ext_filter_mask =nla_get_u32 (tb[IFLA_EXT_MASK ]);
@@ -1744,7 +1754,6 @@ static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh) ops->dellink (dev, &list_kill);unregister_netdevice_many (&list_kill); -list_del (&list_kill);return 0 ; }
@@ -2095,9 +2104,13 @@ static u16 rtnl_calcit(struct sk_buff *skb, struct nlmsghdr *nlh)struct nlattr *tb[IFLA_MAX +1 ];u32 ext_filter_mask =0 ;u16 min_ifinfo_dump_size =0 ; +int hdrlen; + +/* Same kernel<->userspace interface hack as in rtnl_dump_ifinfo. */ + hdrlen =nlmsg_len (nlh) <sizeof (struct ifinfomsg ) ? +sizeof (struct rtgenmsg ) :sizeof (struct ifinfomsg ); -if (nlmsg_parse (nlh,sizeof (struct ifinfomsg ), tb,IFLA_MAX , - ifla_policy) >=0 ) { +if (nlmsg_parse (nlh, hdrlen, tb,IFLA_MAX , ifla_policy) >=0 ) {if (tb[IFLA_EXT_MASK ]) ext_filter_mask =nla_get_u32 (tb[IFLA_EXT_MASK ]); }
net/ipv4/datagram.c +15 -5
@@ -86,18 +86,26 @@ out: }EXPORT_SYMBOL (ip4_datagram_connect); +/* Because UDP xmit path can manipulate sk_dst_cache without holding +* socket lock, we need to use sk_dst_set() here, +* even if we own the socket lock. +*/ void ip4_datagram_release_cb (struct sock *sk) {const struct inet_sock *inet =inet_sk (sk);const struct ip_options_rcu *inet_opt;__be32 daddr = inet->inet_daddr; +struct dst_entry *dst;struct flowi4 fl4;struct rtable *rt; -if (!__sk_dst_get (sk) ||__sk_dst_check (sk,0 )) -return ; -rcu_read_lock (); + + dst =__sk_dst_get (sk); +if (!dst || !dst->obsolete || dst->ops->check (dst,0 )) { +rcu_read_unlock (); +return ; + } inet_opt =rcu_dereference (inet->inet_opt);if (inet_opt && inet_opt->opt.srr) daddr = inet_opt->opt.faddr;
@@ -105,8 +113,10 @@ void ip4_datagram_release_cb(struct sock *sk) inet->inet_saddr, inet->inet_dport, inet->inet_sport, sk->sk_protocol, RT_CONN_FLAGS(sk), sk->sk_bound_dev_if); -if (!IS_ERR (rt)) -__sk_dst_set (sk, &rt->dst); + + dst = !IS_ERR (rt) ? &rt->dst :NULL ; +sk_dst_set (sk, dst); +rcu_read_unlock (); }EXPORT_SYMBOL_GPL (ip4_datagram_release_cb);
net/ipv4/ipip.c +3 -2
@@ -149,13 +149,13 @@ static int ipip_err(struct sk_buff *skb, u32 info)if (type ==ICMP_DEST_UNREACH && code ==ICMP_FRAG_NEEDED ) {ipv4_update_pmtu (skb,dev_net (skb->dev), info, - t->dev->ifindex,0 ,IPPROTO_IPIP ,0 ); + t->parms.link,0 ,IPPROTO_IPIP ,0 ); err =0 ; goto out; }if (type ==ICMP_REDIRECT ) { -ipv4_redirect (skb,dev_net (skb->dev), t->dev->ifindex,0 , +ipv4_redirect (skb,dev_net (skb->dev), t->parms.link,0 ,IPPROTO_IPIP ,0 ); err =0 ; goto out;
@@ -486,4 +486,5 @@ static void __exit ipip_fini(void)module_init (ipip_init);module_exit (ipip_fini);MODULE_LICENSE ("GPL" ); +MODULE_ALIAS_RTNL_LINK ("ipip" );MODULE_ALIAS_NETDEV ("tunl0" );
net/ipv4/udp.c +4 -0
@@ -1834,6 +1834,10 @@ static struct sock *__udp4_lib_mcast_demux_lookup(struct net *net,unsigned int count, slot =udp_hashfn (net, hnum, udp_table.mask);struct udp_hslot *hslot = &udp_table.hash[slot]; +/* Do not bother scanning a too big list */ +if (hslot->count >10 ) +return NULL ; +rcu_read_lock (); begin: count =0 ;
net/ipv6/ip6_tunnel.c +1 -0
@@ -61,6 +61,7 @@MODULE_AUTHOR ("Ville Nuorvala" );MODULE_DESCRIPTION ("IPv6 tunneling device" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS_RTNL_LINK ("ip6tnl" );MODULE_ALIAS_NETDEV ("ip6tnl0" );#ifdef IP6_TNL_DEBUG
net/ipv6/sit.c +3 -2
@@ -560,12 +560,12 @@ static int ipip6_err(struct sk_buff *skb, u32 info)if (type ==ICMP_DEST_UNREACH && code ==ICMP_FRAG_NEEDED ) {ipv4_update_pmtu (skb,dev_net (skb->dev), info, - t->dev->ifindex,0 ,IPPROTO_IPV6 ,0 ); + t->parms.link,0 ,IPPROTO_IPV6 ,0 ); err =0 ; goto out; }if (type ==ICMP_REDIRECT ) { -ipv4_redirect (skb,dev_net (skb->dev), t->dev->ifindex,0 , +ipv4_redirect (skb,dev_net (skb->dev), t->parms.link,0 ,IPPROTO_IPV6 ,0 ); err =0 ; goto out;
@@ -1828,4 +1828,5 @@ xfrm_tunnel_failed:module_init (sit_init);module_exit (sit_cleanup);MODULE_LICENSE ("GPL" ); +MODULE_ALIAS_RTNL_LINK ("sit" );MODULE_ALIAS_NETDEV ("sit0" );
net/ipv6/udp.c +4 -4
@@ -716,15 +716,15 @@ static struct sock *udp_v6_mcast_next(struct net *net, struct sock *sk,if (inet->inet_dport != rmt_port)continue ; } -if (!ipv6_addr_any (&sk->sk_v6_daddr) && - !ipv6_addr_equal (&sk->sk_v6_daddr, rmt_addr)) +if (!ipv6_addr_any (&s->sk_v6_daddr) && + !ipv6_addr_equal (&s->sk_v6_daddr, rmt_addr))continue ;if (s->sk_bound_dev_if && s->sk_bound_dev_if != dif)continue ; -if (!ipv6_addr_any (&sk->sk_v6_rcv_saddr)) { -if (!ipv6_addr_equal (&sk->sk_v6_rcv_saddr, loc_addr)) +if (!ipv6_addr_any (&s->sk_v6_rcv_saddr)) { +if (!ipv6_addr_equal (&s->sk_v6_rcv_saddr, loc_addr))continue ; }if (!inet6_mc_check (s, loc_addr, rmt_addr))
net/mac80211/iface.c +0 -1
@@ -1758,7 +1758,6 @@ void ieee80211_remove_interfaces(struct ieee80211_local *local) }mutex_unlock (&local->iflist_mtx);unregister_netdevice_many (&unreg_list); -list_del (&unreg_list);list_for_each_entry_safe (sdata, tmp, &wdev_list, list) {list_del (&sdata->list);
net/sctp/associola.c +1 -1
@@ -330,7 +330,7 @@ void sctp_association_free(struct sctp_association *asoc)/* Only real associations count against the endpoint, so * don't bother for if this is a temporary association. */ -if (!asoc->temp) { +if (!list_empty (&asoc->asocs)) {list_del (&asoc->asocs);/* Decrement the backlog value for a TCP-style listening
security/integrity/evm/evm_main.c +10 -2
@@ -287,12 +287,20 @@ out:* @xattr_value: pointer to the new extended attribute value * @xattr_value_len: pointer to the new extended attribute value length * -* Updating 'security.evm' requires CAP_SYS_ADMIN privileges and that -* the current value is valid. +* Before allowing the 'security.evm' protected xattr to be updated, +* verify the existing value is valid. As only the kernel should have +* access to the EVM encrypted key needed to calculate the HMAC, prevent +* userspace from writing HMAC value. Writing 'security.evm' requires +* requires CAP_SYS_ADMIN privileges. */ int evm_inode_setxattr (struct dentry *dentry,const char *xattr_name,const void *xattr_value,size_t xattr_value_len) { +const struct evm_ima_xattr_data *xattr_data = xattr_value; + +if ((strcmp (xattr_name,XATTR_NAME_EVM ) ==0 ) + && (xattr_data->type ==EVM_XATTR_HMAC )) +return -EPERM ;return evm_protect_xattr (dentry, xattr_name, xattr_value, xattr_value_len); }
security/integrity/ima/ima_api.c +9 -1
@@ -199,6 +199,7 @@ int ima_collect_measurement(struct integrity_iint_cache *iint,struct evm_ima_xattr_data **xattr_value, int *xattr_len) { + const char *audit_cause = "failed";struct inode *inode =file_inode (file);const char *filename = file->f_dentry->d_name.name;int result =0 ;
@@ -213,6 +214,12 @@ int ima_collect_measurement(struct integrity_iint_cache *iint,if (!(iint->flags &IMA_COLLECTED )) {u64 i_version =file_inode (file)->i_version; +if (file->f_flags &O_DIRECT ) { + audit_cause ="failed(directio)" ; + result = -EACCES ; + goto out; + } +/* use default hash algorithm */ hash.hdr.algo = ima_hash_algo;
@@ -233,9 +240,10 @@ int ima_collect_measurement(struct integrity_iint_cache *iint, result = -ENOMEM ; } } +out:if (result)integrity_audit_msg (AUDIT_INTEGRITY_DATA , inode, - filename,"collect_data" ,"failed" , + filename,"collect_data" , audit_cause, result,0 );return result; }
security/integrity/ima/ima_crypto.c +31 -1
@@ -27,6 +27,36 @@static struct crypto_shash *ima_shash_tfm; +/** +* ima_kernel_read - read file content +* +* This is a function for reading file content instead of kernel_read(). +* It does not perform locking checks to ensure it cannot be blocked. +* It does not perform security checks because it is irrelevant for IMA. +* +*/ +static int ima_kernel_read (struct file *file,loff_t offset, +char *addr,unsigned long count) +{ +mm_segment_t old_fs; +char __user *buf = addr; +ssize_t ret; + +if (!(file->f_mode &FMODE_READ )) +return -EBADF ; +if (!file->f_op->read && !file->f_op->aio_read) +return -EINVAL ; + + old_fs =get_fs (); +set_fs (get_ds ()); +if (file->f_op->read) + ret = file->f_op->read (file, buf, count, &offset); +else + ret =do_sync_read (file, buf, count, &offset); +set_fs (old_fs); +return ret; +} +int ima_init_crypto (void ) {long rc;
@@ -104,7 +134,7 @@ static int ima_calc_file_hash_tfm(struct file *file,while (offset < i_size) {int rbuf_len; - rbuf_len =kernel_read (file, offset, rbuf,PAGE_SIZE ); + rbuf_len =ima_kernel_read (file, offset, rbuf,PAGE_SIZE );if (rbuf_len <0 ) { rc = rbuf_len;break ;
security/integrity/ima/ima_main.c +4 -1
@@ -214,8 +214,11 @@ static int process_measurement(struct file *file, const char *filename, xattr_ptr = &xattr_value; rc =ima_collect_measurement (iint, file, xattr_ptr, &xattr_len); -if (rc !=0 ) +if (rc !=0 ) { +if (file->f_flags &O_DIRECT ) + rc = (iint->flags &IMA_PERMIT_DIRECTIO ) ?0 : -EACCES ; goto out_digsig; + } pathname = filename ?:ima_d_path (&file->f_path, &pathbuf);
security/integrity/ima/ima_policy.c +5 -1
@@ -353,7 +353,7 @@ enum { Opt_obj_user, Opt_obj_role, Opt_obj_type, Opt_subj_user, Opt_subj_role, Opt_subj_type, Opt_func, Opt_mask, Opt_fsmagic, Opt_uid, Opt_fowner, - Opt_appraise_type, Opt_fsuuid + Opt_appraise_type, Opt_fsuuid, Opt_permit_directio }; static match_table_t policy_tokens = {
@@ -375,6 +375,7 @@ static match_table_t policy_tokens = { {Opt_uid, "uid=%s"}, {Opt_fowner, "fowner=%s"}, {Opt_appraise_type, "appraise_type=%s"}, + {Opt_permit_directio, "permit_directio"}, {Opt_err, NULL} };
@@ -622,6 +623,9 @@ static int ima_parse_rule(char *rule, struct ima_rule_entry *entry)else result = -EINVAL ;break ; +case Opt_permit_directio: + entry->flags |=IMA_PERMIT_DIRECTIO ; +break ;case Opt_err:ima_log_string (ab,"UNKNOWN" , p); result = -EINVAL ;
security/integrity/integrity.h +1 -0
@@ -30,6 +30,7 @@#define IMA_ACTION_FLAGS 0xff000000#define IMA_DIGSIG 0x01000000#define IMA_DIGSIG_REQUIRED 0x02000000 +#define IMA_PERMIT_DIRECTIO 0x04000000#define IMA_DO_MASK (IMA_MEASURE | IMA_APPRAISE | IMA_AUDIT | \ IMA_APPRAISE_SUBMASK)
sound/core/control.c +51 -27
185 lines not on this page · raw message
sound/core/init.c +1 -0
@@ -232,6 +232,7 @@ int snd_card_new(struct device *parent, int idx, const char *xid,INIT_LIST_HEAD (&card->devices);init_rwsem (&card->controls_rwsem);rwlock_init (&card->ctl_files_rwlock); +mutex_init (&card->user_ctl_lock);INIT_LIST_HEAD (&card->controls);INIT_LIST_HEAD (&card->ctl_files);spin_lock_init (&card->files_lock);
sound/pci/hda/patch_hdmi.c +9 -1
@@ -1598,10 +1598,18 @@ static bool hdmi_present_sense(struct hdmi_spec_per_pin *per_pin, int repoll)* Re-setup pin and infoframe. This is needed e.g. when * - sink is first plugged-in (infoframe is not set up if !monitor_present) * - transcoder can change during stream playback on Haswell +* and this can make HW reset converter selection on a pin. */ -if (eld->eld_valid && !old_eld_valid && per_pin->setup) +if (eld->eld_valid && !old_eld_valid && per_pin->setup) { +if (is_haswell_plus (codec) ||is_valleyview (codec)) { +intel_verify_pin_cvt_connect (codec, per_pin); +intel_not_share_assigned_cvt (codec, pin_nid, + per_pin->mux_idx); + } +hdmi_setup_audio_infoframe (codec, per_pin, per_pin->non_pcm); + } }if (eld_changed)
sound/pci/hda/patch_realtek.c +24 -0
@@ -4114,6 +4114,7 @@ enum {ALC269_FIXUP_HEADSET_MIC ,ALC269_FIXUP_QUANTA_MUTE ,ALC269_FIXUP_LIFEBOOK , +ALC269_FIXUP_LIFEBOOK_EXTMIC ,ALC269_FIXUP_AMIC ,ALC269_FIXUP_DMIC , ALC269VB_FIXUP_AMIC,
@@ -4243,6 +4244,13 @@ static const struct hda_fixup alc269_fixups[] = { .chained = true, .chain_id =ALC269_FIXUP_QUANTA_MUTE }, + [ALC269_FIXUP_LIFEBOOK_EXTMIC] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl []) { + {0x19 ,0x01a1903c },/* headset mic, with jack detect */ + { } + }, + }, [ALC269_FIXUP_AMIC] = { .type = HDA_FIXUP_PINS, .v.pins = (const struct hda_pintbl []) {
@@ -4633,14 +4641,24 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x103c ,0x1983 ,"HP Pavilion" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x218b ,"HP" ,ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED ),/* ALC282 */ +SND_PCI_QUIRK (0x103c ,0x220d ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x220e ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x220f ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x2210 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x2211 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x2212 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x2213 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x2214 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x2266 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x2267 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x2268 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x2269 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x226a ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x226b ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x226c ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x226d ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x226e ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x226f ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x227a ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x227b ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), SND_PCI_QUIRK(0x103c, 0x229e, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
@@ -4680,6 +4698,10 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x103c ,0x22c8 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x22c3 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK (0x103c ,0x22c4 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x2334 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x2335 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x2336 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ), +SND_PCI_QUIRK (0x103c ,0x2337 ,"HP" ,ALC269_FIXUP_HP_MUTE_LED_MIC1 ),SND_PCI_QUIRK_VENDOR (0x103c ,"HP" ,ALC269_FIXUP_HP_MUTE_LED ),SND_PCI_QUIRK (0x1043 ,0x103f ,"ASUS TX300" ,ALC282_FIXUP_ASUS_TX300 ), SND_PCI_QUIRK(0x1043, 0x106d, "Asus K53BE", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
@@ -4702,6 +4724,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x104d ,0x9084 ,"Sony VAIO" ,ALC275_FIXUP_SONY_HWEQ ),SND_PCI_QUIRK_VENDOR (0x104d ,"Sony VAIO" ,ALC269_FIXUP_SONY_VAIO ),SND_PCI_QUIRK (0x10cf ,0x1475 ,"Lifebook" ,ALC269_FIXUP_LIFEBOOK ), +SND_PCI_QUIRK (0x10cf ,0x1845 ,"Lifebook U904" ,ALC269_FIXUP_LIFEBOOK_EXTMIC ),SND_PCI_QUIRK (0x17aa ,0x20f2 ,"Thinkpad SL410/510" ,ALC269_FIXUP_SKU_IGNORE ),SND_PCI_QUIRK (0x17aa ,0x215e ,"Thinkpad L512" ,ALC269_FIXUP_SKU_IGNORE ), SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_SKU_IGNORE),
@@ -5809,6 +5832,7 @@ static const struct hda_codec_preset snd_hda_preset_realtek[] = { { .id = 0x10ec0670, .name = "ALC670", .patch = patch_alc662 }, { .id = 0x10ec0671, .name = "ALC671", .patch = patch_alc662 }, { .id = 0x10ec0680, .name = "ALC680", .patch = patch_alc680 }, + { .id = 0x10ec0867, .name = "ALC891", .patch = patch_alc882 }, { .id = 0x10ec0880, .name = "ALC880", .patch = patch_alc880 }, { .id = 0x10ec0882, .name = "ALC882", .patch = patch_alc882 }, { .id = 0x10ec0883, .name = "ALC883", .patch = patch_alc882 },
sound/soc/codecs/max98090.c +3 -0
@@ -255,6 +255,7 @@ static struct reg_default max98090_reg[] = {static bool max98090_volatile_register (struct device *dev,unsigned int reg) {switch (reg) { +case M98090_REG_SOFTWARE_RESET :case M98090_REG_DEVICE_STATUS :case M98090_REG_JACK_STATUS :case M98090_REG_REVISION_ID :
@@ -2373,6 +2374,8 @@ static int max98090_runtime_resume(struct device *dev)regcache_cache_only (max98090->regmap, false); +max98090_reset (max98090); +regcache_sync (max98090->regmap);return 0 ;
sound/soc/codecs/tlv320aic3x.c +1 -1
@@ -169,7 +169,7 @@ static int snd_soc_dapm_put_volsw_aic3x(struct snd_kcontrol *kcontrol, mask <<= shift; val <<= shift; - change =snd_soc_test_bits (codec, val, mask, reg); + change =snd_soc_test_bits (codec, reg, mask, val);if (change) { update.kcontrol = kcontrol; update.reg = reg;
sound/soc/soc-dapm.c +10 -13
@@ -2857,22 +2857,19 @@ int snd_soc_dapm_put_volsw(struct snd_kcontrol *kcontrol,mutex_lock_nested (&card->dapm_mutex,SND_SOC_DAPM_CLASS_RUNTIME ); change =dapm_kcontrol_set_value (kcontrol, val); - -if (reg !=SND_SOC_NOPM ) { - mask = mask << shift; - val = val << shift; - - change =snd_soc_test_bits (codec, reg, mask, val); - } -if (change) {if (reg !=SND_SOC_NOPM ) { - update.kcontrol = kcontrol; - update.reg = reg; - update.mask = mask; - update.val = val; + mask = mask << shift; + val = val << shift; + +if (snd_soc_test_bits (codec, reg, mask, val)) { + update.kcontrol = kcontrol; + update.reg = reg; + update.mask = mask; + update.val = val; + card->update = &update; + } - card->update = &update; } ret =soc_dapm_mixer_update_power (card, kcontrol, connect);
Quoted 8 lines · Greg KH
I'm announcing the release of the 3.15.2 kernel.
All users of the 3.15 kernel series must upgrade.
The updated 3.15.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.15.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
Is the patch for this stuck somewhere on kernel.org? I see patch-3.14.9.xz, but patch-3.15.2.xz is missing on both the kernel.org front page and the 3.x http directory where we'd normally find it.
josh
Quoted 5 lines · Josh Boyer
Quoted 4 lines · Greg KH
I'm announcing the release of the 3.15.2 kernel.
All users of the 3.15 kernel series must upgrade.
Quoted 9 lines
Quoted 4 lines
The updated 3.15.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.15.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=summaryIs the patch for this stuck somewhere on kernel.org? I see patch-3.14.9.xz, but patch-3.15.2.xz is missing on both the kernel.org front page and the 3.x http directory where we'd normally find it.
Indeed, the patch for 3.10.45 is also missing.
Greg KH
maintainerQuoted 11 lines · Steven Noonan
Quoted 10 lines · Josh Boyer
Quoted 8 lines · Greg KH
I'm announcing the release of the 3.15.2 kernel.
All users of the 3.15 kernel series must upgrade.
The updated 3.15.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.15.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
Quoted 6 lines
Quoted 4 lines
Is the patch for this stuck somewhere on kernel.org? I see patch-3.14.9.xz, but patch-3.15.2.xz is missing on both the kernel.org front page and the 3.x http directory where we'd normally find it.
Indeed, the patch for 3.10.45 is also missing.
I tried to push out the kernels from the Newark airport, and the emails went out, and part of the tarballs / patches, but not everything before my connection got dropped and I had to get on a plane back to Seattle.
I'll repush them again and they should show up soon.
sorry about that,
greg k-h
Quoted 11 lines · Steven Noonan
Quoted 10 lines · Josh Boyer
Quoted 8 lines · Greg KH
I'm announcing the release of the 3.15.2 kernel.
All users of the 3.15 kernel series must upgrade.
The updated 3.15.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.15.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
Quoted 6 lines
Quoted 4 lines
Is the patch for this stuck somewhere on kernel.org? I see patch-3.14.9.xz, but patch-3.15.2.xz is missing on both the kernel.org front page and the 3.x http directory where we'd normally find it.
Indeed, the patch for 3.10.45 is also missing.
Both are there now :
https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.15.2.xz
https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.10.45.xz
Willy