Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actualizo-1 #1

Merged
merged 10,000 commits into from
Oct 21, 2015
Merged
Changes from 1 commit
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
b0d5811
Merge tag 'sunxi-fixes-for-4.3' of https://git.kernel.org/pub/scm/lin…
arndb Oct 6, 2015
5a37b15
Merge tag 'renesas-fixes-for-v4.3' of git://git.kernel.org/pub/scm/li…
arndb Oct 6, 2015
98dd166
x86/xen/p2m: hint at the last populated P2M entry
Sep 7, 2015
3c68319
Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
torvalds Oct 6, 2015
e5fffba
Btrfs: open_ctree: Fix possible memory leak
Oct 5, 2015
7d35199
BTRFS: support NFSv2 export
neilbrown May 8, 2015
3ec20e2
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Oct 6, 2015
f670268
Merge tag 'for-linus-4.3b-rc4-tag' of git://git.kernel.org/pub/scm/li…
torvalds Oct 6, 2015
50887bd
dm: fix request-based dm error reporting
nomuranec Oct 6, 2015
e79d5c0
drm/amdgpu: check before checking pci bridge registers
alexdeucher Oct 6, 2015
95913d9
sched/core: Fix TASK_DEAD race in finish_task_switch()
Sep 29, 2015
9a65e68
drm/amdgpu: flag iceland as experimental
alexdeucher Oct 6, 2015
4ca3bc8
arm64: Don't relocate non-existent initrd
Oct 6, 2015
3805ead
usnic: add missing clauses to BSD license
jsquyres Sep 30, 2015
62c6c61
arm64: replace read_lock to rcu lock in call_break_hook
Oct 5, 2015
f022fa8
xprtrdma: Don't require LOCAL_DMA_LKEY support for fastreg
Oct 6, 2015
b8cab5d
IB/cma: Accept connection without a valid netdev on RoCE
haggaie Oct 6, 2015
19c22f3
word-at-a-time.h: fix some Kbuild files
Oct 6, 2015
c753bf3
word-at-a-time.h: support zero_bytemask() on alpha and tile
Oct 6, 2015
990486c
strscpy: zero any trailing garbage bytes in the destination
Oct 6, 2015
39d0d3b
NFS: Fix a tracepoint NULL-pointer dereference
amschuma-ntap Oct 5, 2015
879f2fe
Input: ads7846 - correct the value got from SPI
Oct 6, 2015
6090652
drm/qxl: fix framebuffer dirty rectangle tracking.
kraxel Oct 5, 2015
7eb9974
drm/qxl: avoid buffer reservation in qxl_crtc_page_flip
Sep 24, 2015
266424b
drm/qxl: avoid dependency lock
Sep 24, 2015
4108efb
cxl: Fix number of allocated pages in SPA
Oct 7, 2015
00a3d66
Revert "fs: do not prefault sys_write() user buffer pages"
torvalds Oct 7, 2015
a0eeb8d
Merge tag 'nfs-for-4.3-3' of git://git.linux-nfs.org/projects/trondmy…
torvalds Oct 7, 2015
de28a05
Merge tag 'iwlwifi-for-kalle-2015-10-05' of git://git.kernel.org/pub/…
Oct 7, 2015
3f5e4a3
Merge tag 'for-linus-20151006' of git://git.infradead.org/linux-mtd
torvalds Oct 7, 2015
79c7c7a
Merge branch 'strscpy' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Oct 7, 2015
02685b1
Merge branch 'for-joerg/arm-smmu/fixes' of git://git.kernel.org/pub/s…
joergroedel Oct 7, 2015
c2c80bd
Merge remote-tracking branches 'spi/fix/davinci' and 'spi/fix/sh-msio…
broonie Oct 7, 2015
90d2c05
i40e/i40evf: set AQ count after memory allocation
mawilli1 Oct 4, 2015
d663bab
video: of: fix memory leak
sudipm-mukherjee Sep 30, 2015
6e28b00
net: Fix vti use case with oif in dst lookups for IPv6
Oct 5, 2015
1023d2e
net: dsa: add missing kfree on remove
superna9999 Oct 6, 2015
e410ddb
net: dsa: add missing dsa_switch mdiobus remove
superna9999 Oct 6, 2015
cbc5d90
net: dsa: complete dsa_switch_destroy
superna9999 Oct 6, 2015
d4ac35d
net: dsa: switch to devm_ calls and remove kfree calls
superna9999 Oct 6, 2015
4d7f3e7
net: dsa: exit probe if no switch were found
superna9999 Oct 6, 2015
6087286
Merge branch 'dsa-unbind'
davem330 Oct 7, 2015
0a7cc17
openvswitch: Fix typos in CT headers
joestringer Oct 6, 2015
b8f2257
openvswitch: Fix skb leak in ovs_fragment()
joestringer Oct 6, 2015
ec0d043
openvswitch: Ensure flow is valid before executing ct
joestringer Oct 6, 2015
6f22595
openvswitch: Reject ct_state unsupported bits
joestringer Oct 6, 2015
fbccce5
openvswitch: Extend ct_state match field to 32 bits
joestringer Oct 6, 2015
ab38a7b
openvswitch: Change CT_ATTR_FLAGS to CT_ATTR_COMMIT
joestringer Oct 6, 2015
4174750
Merge branch 'ovs-ct-fixes'
davem330 Oct 7, 2015
21f3c96
Merge tag 'regulator-fix-v4.3-rc4' of git://git.kernel.org/pub/scm/li…
torvalds Oct 7, 2015
07443ce
Merge tag 'spi-fix-v4.3-rc4' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Oct 7, 2015
8ace60f
Merge tag 'regmap-fix-v4.3-rc4' of git://git.kernel.org/pub/scm/linux…
torvalds Oct 7, 2015
9fb4765
perf tools: Fix build break on powerpc due to sample_reg_masks
Sep 24, 2015
028423b
drm/amdgpu: fix 32-bit compiler warning
arndb Oct 7, 2015
1e2fa4c
Merge remote-tracking branches 'asoc/fix/db1200', 'asoc/fix/dwc', 'as…
broonie Oct 7, 2015
e4fc141
Merge remote-tracking branches 'asoc/fix/tlv320aic3x' and 'asoc/fix/w…
broonie Oct 7, 2015
00e6fa5
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/lin…
Oct 7, 2015
e82fa92
Merge tag 'fbdev-fixes-4.3' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Oct 7, 2015
c6fa8e6
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Oct 7, 2015
15e3d5a
3w-9xxx: don't unmap bounce buffered commands
Oct 3, 2015
601d629
Merge tag 'asoc-fix-v4.3-rc4' of git://git.kernel.org/pub/scm/linux/k…
tiwai Oct 7, 2015
9d99c71
swiotlb: Enable it under x86 PAE
mirschkyn Oct 5, 2015
bb2726b
Revert "mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias…
tmlind Oct 7, 2015
123e20b
mmc: host: omap_hsmmc: Fix MMC for omap3 legacy booting
tmlind Oct 7, 2015
c72eda0
af_unix: constify the sock parameter in unix_sk()
pcmoore Oct 6, 2015
d40496a
act_mirred: clear sender cpu before sending to tx
congwang Oct 7, 2015
6bf0577
bpf: clear sender_cpu before xmit
Oct 7, 2015
bcb9db4
mlxsw: fix warnings for big-endian 32-bit dma_addr_t
arndb Oct 7, 2015
9d3a638
net: mdio-octeon: Drop obsolete Kconfig advice
jdelvare Oct 7, 2015
85121d6
net/mlx4: Remove shared_ports variable at mlx4_enable_msi_x
Oct 7, 2015
a66d7f7
crypto: sparc - initialize blkcipher.ivsize
kleikamp Oct 5, 2015
92b2790
crypto: camellia_aesni_avx - Fix CPU feature checks
bwhacks Oct 6, 2015
7a5692e
arch/powerpc: provide zero_bytemask() for big-endian
Oct 7, 2015
7a57455
drm/amdgpu: fix memory leak in amdgpu_vm_update_page_directory
sudipm-mukherjee Oct 8, 2015
5de76bf
mmc: sdhci-pxav3: remove broken clock base quirk for Armada 38x sdhci…
Oct 6, 2015
fa79641
mmc: sdhci-pxav3: disable clock inversion for HS MMC cards
Oct 6, 2015
2162d9f
mmc: sdhci-pxav3: fix error handling of armada_38x_quirks
wojtas-marcin Oct 6, 2015
af95176
mmc: sdhci: add quirk SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST
ldesroches Sep 17, 2015
88c6eb0
mmc: sdhci-of-at91: use SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk
ldesroches Sep 17, 2015
e253036
cpufreq: acpi_cpufreq: prevent crash on reading freqdomain_cpus
spandruvada Oct 7, 2015
55582bc
cpufreq: prevent lockup on reading scaling_available_frequencies
spandruvada Oct 7, 2015
fdf880a
powerpc: Fix checkstop in native_hpte_clear() with lockdep
cyrilbur-ibm Oct 8, 2015
f2dd80e
powerpc/powernv: Panic on unhandled Machine Check
daxtens Sep 23, 2015
a452744
crash in md-raid1 and md-raid10 due to incorrect list manipulation
Oct 1, 2015
e87d68d
Merge branch 'drm-fixes-4.3' of git://people.freedesktop.org/~agd5f/l…
airlied Oct 9, 2015
621bd0f
drm: Fix locking for sysfs dpms file
danvet Sep 29, 2015
2bffa15
dm cache: fix NULL pointer when switching from cleaner policy
jthornber Oct 9, 2015
820d39f
net/mlx4_core: Avoid failing the interrupts test
Oct 8, 2015
13b7938
net/mlx5: Fix typo in mlx5_query_port_pvlc
jpirko Oct 8, 2015
c075434
net/mlx5e: Disable VLAN filter in promiscuous mode
Oct 8, 2015
d5a5209
MAINTAINERS: Update mlx4_en driver entry
shamoya Oct 8, 2015
ca7beb1
Merge branch 'mlx'
davem330 Oct 9, 2015
9d67dc5
genirq: Export handle_bad_irq
arndb Oct 6, 2015
e3096c9
genirq: Fix handle_bad_irq kerneldoc comment
arndb Oct 6, 2015
10abc7d
irqdomain: Add an accessor for the of_node field
Oct 9, 2015
cbbc00b
iommu/amd: Prevent binding other PCI drivers to IOMMU PCI devices
Oct 9, 2015
5adad99
iommu/amd: Fix NULL pointer deref on device detach
joergroedel Oct 9, 2015
8c3ad9c
nfsd/blocklayout: accept any minlength
Oct 9, 2015
670aee3
Merge branches 'pm-devfreq' and 'pm-cpufreq'
rafaeljw Oct 9, 2015
b0d3cc0
dm snapshot: add new persistent store option to support overflow
snitm Oct 8, 2015
5163ac7
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Oct 9, 2015
38aa0a5
Merge tag 'nfsd-4.3-1' of git://linux-nfs.org/~bfields/linux
torvalds Oct 9, 2015
175d58c
Merge branch 'for-linus-4.3' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Oct 9, 2015
0444555
Merge tag 'dm-4.3-fixes-2' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Oct 9, 2015
8140e73
Merge tag 'mmc-v4.3-rc4' of git://git.linaro.org/people/ulf.hansson/mmc
torvalds Oct 10, 2015
fe621fd
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux…
torvalds Oct 10, 2015
f4ba1cf
Merge tag 'sound-4.3-rc5' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Oct 10, 2015
71419b7
Merge branch 'strscpy' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Oct 10, 2015
149fadf
Merge tag 'pm+acpi-4.3-rc5' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Oct 10, 2015
daf3761
namei: results of d_is_negative() should be checked after dentry reva…
trondmypd Oct 9, 2015
1d8a12d
Merge branch 'stable/for-linus-4.3' of git://git.kernel.org/pub/scm/l…
torvalds Oct 10, 2015
bbecce8
Merge git://git.linux-mips.org/pub/scm/ralf/upstream-linus
torvalds Oct 10, 2015
ef19df6
Merge tag 'char-misc-4.3-rc5' of git://git.kernel.org/pub/scm/linux/k…
torvalds Oct 10, 2015
91dbc04
Merge tag 'staging-4.3-rc5' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Oct 10, 2015
97d0c93
Merge tag 'tty-4.3-rc5' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Oct 10, 2015
4a06c8a
Merge tag 'usb-4.3-rc5' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Oct 10, 2015
825fcfc
MAINTAINERS: Change Matt Fleming's email address
Oct 10, 2015
6ac644a
sch_hhf: fix return value of hhf_drop()
congwang Oct 7, 2015
4b0c254
mlxsw: switchx2: changing order of exit fallbacks
Oct 8, 2015
bee1f75
mlxsw: Fix bug in __mlxsw_item_bit_array_offset
idosch Oct 8, 2015
5edc11a
Merge branch 'mlxsw-fixes'
davem330 Oct 11, 2015
f9468e8
bnx2x: Prevent UDP 4-tuple configurations on older adapters
Oct 8, 2015
d9e4ce6
ipv6: gre: setup default multicast routes over PtP links
strssndktn Oct 8, 2015
9ef2e96
ipv6: drop frames with attached skb->sk in forwarding
strssndktn Oct 8, 2015
f24fe98
Merge tag 'md/4.3-rc4-fix' of git://neil.brown.name/md
torvalds Oct 11, 2015
5a433f7
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Oct 11, 2015
e3d6e0e
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Oct 11, 2015
a145164
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Oct 11, 2015
7cbbab0
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/…
torvalds Oct 11, 2015
9a78f9c
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm…
torvalds Oct 11, 2015
25cb62b
Linux 4.3-rc5
torvalds Oct 11, 2015
2239b76
drm/nouveau/bios: translate devinit pri/sec i2c bus to internal ident…
Sep 29, 2015
5102ec3
drm/nouveau/display: allow up to 16k width/height for fermi+
imirkin Sep 18, 2015
953132b
drm/nouveau/nouveau: Disable AGP for SiS 761
Sep 14, 2015
f231976
drm/nouveau/fbcon: take runpm reference when userspace has an open fd
Oct 2, 2015
25d2958
drm/nouveau/bios: fix OF loading
imirkin Oct 2, 2015
7b98040
Merge branch 'linux-4.3' of git://anongit.freedesktop.org/git/nouveau…
airlied Oct 12, 2015
3be7f32
svcrdma: Fix NFS server crash triggered by 1MB NFS WRITE
chucklever Oct 12, 2015
b6dd8e0
arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419
wildea01 Oct 8, 2015
c969265
arm64: Fix MINSIGSTKSZ and SIGSTKSZ
mpchap Oct 9, 2015
e844463
rtnetlink: fix gcc -Wconversion warning
ronenil Oct 9, 2015
abb39bc
selftests/powerpc: Fix build failure of load_unaligned_zeropad test
mpe Oct 12, 2015
ed7d78b
drm/vmwgfx: Fix kernel NULL pointer dereference on older hardware
thomashvmw Oct 12, 2015
4633dfc
mac80211: Fix hwflags debugfs file format
Oct 8, 2015
3dd03e5
net/fsl_pq_mdio: check TBI address for consistency with mapped range
Oct 12, 2015
3bb35ac
net/fsl_pq_mdio: fix computed address for the TBI register
Oct 12, 2015
ae4a9d6
be2net: fix BE3-R FW download compatibility check
Oct 12, 2015
0c88456
be2net: release mcc-lock in a failure case in be_cmd_notify_wait()
Oct 12, 2015
8227e99
be2net: pad skb to meet minimum TX pkt size in BE3
Oct 12, 2015
72ef3a8
be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd
Oct 12, 2015
196e373
be2net: remove vlan promisc capability from VF's profile descriptors
Oct 12, 2015
1f22503
Merge branch 'be2net-fixes'
davem330 Oct 13, 2015
87aaf2c
switchdev: check if the vlan id is in the proper vlan range
Oct 12, 2015
e332bc6
ipv6: Don't call with rt6_uncached_list_flush_dev
ebiederm Oct 12, 2015
8996eaf
crypto: ahash - ensure statesize is non-zero
Oct 9, 2015
a2a678e
dm snapshot persistent: fix missing cleanup in persistent_ctr error path
sudipm-mukherjee Oct 13, 2015
ba30670
dm thin: fix missing pool reference count decrement in pool_ctr error…
snitm Oct 13, 2015
1d8007b
KVM: x86: build kvm_userspace_memory_region in x86_set_memory_region
bonzini Oct 12, 2015
f0d648b
KVM: x86: map/unmap private slots in __x86_set_memory_region
bonzini Oct 12, 2015
5d9bc64
KVM: x86: clean up kvm_arch_vcpu_runnable
bonzini Oct 13, 2015
7391773
KVM: x86: fix SMI to halted VCPU
bonzini Oct 13, 2015
06d1ee3
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
torvalds Oct 13, 2015
7554225
Merge tag 'iommu-fixes-v4.3-rc5' of git://git.kernel.org/pub/scm/linu…
torvalds Oct 13, 2015
6006d45
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
torvalds Oct 13, 2015
5b5f145
Merge tag 'nfsd-4.3-2' of git://linux-nfs.org/~bfields/linux
torvalds Oct 13, 2015
0b5c927
IB/ipoib: For sendonly join free the multicast group on leave
Oct 11, 2015
a98f1b7
PM / Domains: Fix validation of latency constraints in genpd governor
storulf Oct 13, 2015
8eb9345
btrfs: check unsupported filters in balance arguments
kdave Oct 12, 2015
dc6c5fb
btrfs: fix use after free iterating extrefs
masoncl Oct 13, 2015
a487c03
Input: cyapa - fix the copy paste error on electrodes_rx value
Oct 12, 2015
eb93ce2
arm64: compat: wire up new syscalls
wildea01 Oct 14, 2015
0f8b8e2
tipc: eliminate risk of stalled link synchronization
Oct 13, 2015
25188b9
KVM: x86: fix previous commit for 32-bit
bonzini Oct 14, 2015
b10d92a
KVM: x86: fix RSM into 64-bit protected mode
bonzini Oct 14, 2015
9e07f98
Merge tag 'mfd-fixes-4.3' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Oct 14, 2015
cfed1e3
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
torvalds Oct 14, 2015
e79b202
Partially revert "clk: mvebu: Convert to clk_hw based provider APIs"
bebarino Oct 14, 2015
62fcce9
ACPICA: Tables: Fix FADT dependency regression
Oct 14, 2015
bc8c131
drm/radeon: attach tile property to mst connector
airlied Oct 14, 2015
ae49154
drm/dp/mst: make mst i2c transfer code more robust.
airlied Oct 14, 2015
ef41a2c
Merge tag 'mac80211-for-davem-2015-10-13' of git://git.kernel.org/pub…
davem330 Oct 15, 2015
077cb37
ethtool: Use kcalloc instead of kmalloc for ethtool_get_strings
JoePerches Oct 14, 2015
dde4b5a
tipc: move fragment importance field to new header position
Oct 14, 2015
74cedd3
i2c: return probe deferred status on dev_pm_domain_attach
kbingham Oct 12, 2015
4f7effd
i2c: rcar: enable RuntimePM before registering to the core
Oct 9, 2015
eadd709
i2c: s3c2410: enable RuntimePM before registering to the core
Oct 10, 2015
36d48fb
i2c: designware-platdrv: enable RuntimePM before registering to the core
Oct 9, 2015
53ca376
mlxsw: core: Fix race condition in __mlxsw_emad_transmit
idosch Oct 15, 2015
80c083c
drm/amdgpu: adjust default dispclk (v2)
alexdeucher Oct 12, 2015
f6c7aba
drm/amdgpu: Keep the pflip interrupts always enabled v7
Oct 8, 2015
f05819d
KEYS: Fix crash when attempt to garbage collect an uninstantiated key…
dhowells Oct 15, 2015
fc531d9
MAINTAINERS: add maintainers for Synopsis Designware I2C drivers
Oct 15, 2015
995e2fe
Merge branch 'for-4.3-fixes' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Oct 15, 2015
176bed1
vmstat: explicitly schedule per-cpu work on the CPU we need it to run on
torvalds Oct 15, 2015
c7823b6
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Oct 15, 2015
58bd6e0
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Oct 15, 2015
8e601a9
cpufreq: intel_pstate: Fix divide by zero on Knights Landing (KNL)
spandruvada Oct 15, 2015
3155823
Merge tag 'pinctrl-v4.3-3' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Oct 15, 2015
69984b6
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Oct 15, 2015
b2293cb
Merge tag 'vmwgfx-fixes-4.3-151014' of git://people.freedesktop.org/~…
airlied Oct 15, 2015
57606c7
Merge branch 'drm-fixes-4.3' of git://people.freedesktop.org/~agd5f/l…
airlied Oct 16, 2015
99763bb
MAINTAINERS: add a maintainer for the atmel-hlcdc DRM driver
Oct 13, 2015
ba2199a
MAINTAINERS: Add myself as maintainer for the gma500 driver
patjak Oct 12, 2015
d549f54
drm/virtio: use %llu format string form atomic64_t
arndb Oct 7, 2015
168b8a2
Bluetooth: Fix double scan updates
Oct 16, 2015
b958f9a
Bluetooth: Fix reference counting for LE-scan based connections
Oct 16, 2015
49c5092
Bluetooth: Fix LE reconnection logic
Oct 16, 2015
679d2b6
Bluetooth: Fix remove_device behavior for explicit connects
Oct 16, 2015
9ad3e6f
Bluetooth: Fix conn_params list update in hci_connect_le_scan_cleanup
Oct 16, 2015
5157b8a
Bluetooth: Fix initializing conn_params in scan phase
Oct 16, 2015
ebfa45f
ipv6: Move common init code for rt6_info to a new function rt6_info_i…
iamkafai Oct 15, 2015
0a1f596
ipv6: Initialize rt6_info properly in ip6_blackhole_route()
iamkafai Oct 15, 2015
7de8827
Merge branch 'ipv6-blackhole-route-fix'
davem330 Oct 16, 2015
5f715c0
via-rhine: fix VLAN receive handling regression.
andrejota Oct 14, 2015
0701c53
genirq/msi: Do not use pci_msi_[un]mask_irq as default methods
Oct 13, 2015
fa54823
Merge branches 'acpica', 'pm-domains' and 'pm-cpufreq'
rafaeljw Oct 16, 2015
56fd16c
timekeeping: Increment clock_was_set_seq in timekeeping_init()
KAGA-KOKO Oct 16, 2015
0d9fde4
rbd: set max_sectors explicitly
idryomov Oct 7, 2015
e30b757
rbd: use writefull op for object size writes
idryomov Oct 7, 2015
063d99b
mm, fs: obey gfp_mapping for add_to_page_cache()
Oct 15, 2015
8d740a3
builddeb: remove debian/files before build
Oct 15, 2015
424cdc1
memcg: convert threshold to bytes
shligit Oct 15, 2015
0f90cc6
mm, dax: fix DAX deadlocks
Oct 15, 2015
1fd4e5c
lib/Kconfig: ZLIB_DEFLATE must select BITREVERSE
akpm00 Oct 15, 2015
934ed25
sh: add copy_user_page() alias for __copy_user()
Oct 15, 2015
3d87518
Merge branch 'akpm' (patches from Andrew)
torvalds Oct 16, 2015
ebb65c8
Merge tag 'powerpc-4.3-4' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Oct 16, 2015
8b7b56f
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
torvalds Oct 16, 2015
a4c4c49
Merge tag 'pm+acpi-4.3-rc6' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Oct 16, 2015
59bcce1
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Oct 16, 2015
6aa8ca4
Merge branch 'for-linus-4.3' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Oct 16, 2015
045ce74
Merge tag 'dm-4.3-fixes-3' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Oct 16, 2015
4f3f957
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux…
torvalds Oct 17, 2015
16c8b9c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Oct 17, 2015
c7c49b8
net: add pfmemalloc check in sk_add_backlog()
Sep 30, 2015
81429a6
Merge branches 'irq-urgent-for-linus' and 'timers-urgent-for-linus' o…
torvalds Oct 17, 2015
56d4b8a
i2c: designware: Do not use parameters from ACPI on Dell Inspiron 7348
westeri Sep 24, 2015
c44b325
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/…
torvalds Oct 18, 2015
7379047
Linux 4.3-rc6
torvalds Oct 18, 2015
db65a3a
netlink: Trim skb to alloc size to avoid MSG_TRUNC
ronenil Oct 15, 2015
80083a3
net: asix: add support for the Billionton GUSB2AM-1G-B USB adapter
changcs Oct 15, 2015
833b8f1
xen-netback: correctly check failed allocation
insuyun Oct 15, 2015
a5d6f7d
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/ker…
davem330 Oct 19, 2015
740dbc2
openvswitch: Scrub skb between namespaces
joestringer Oct 16, 2015
e277de5
tunnels: Don't require remote endpoint or ID during creation.
jessegross Oct 16, 2015
afc050d
Merge tag 'wireless-drivers-for-davem-2015-10-17' of git://git.kernel…
davem330 Oct 19, 2015
37850e3
net: bcmgenet: Fix early link interrupt enabling
ffainelli Oct 17, 2015
911b79c
KEYS: Don't permit request_key() to construct a new keyring
dhowells Oct 19, 2015
1099f86
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
torvalds Oct 19, 2015
ce1fad2
Merge branch 'keys-fixes' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Oct 20, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
netlink: Trim skb to alloc size to avoid MSG_TRUNC
netlink_dump() allocates skb based on the calculated min_dump_alloc or
a per socket max_recvmsg_len.
min_alloc_size is maximum space required for any single netdev
attributes as calculated by rtnl_calcit().
max_recvmsg_len tracks the user provided buffer to netlink_recvmsg.
It is capped at 16KiB.
The intention is to avoid small allocations and to minimize the number
of calls required to obtain dump information for all net devices.

netlink_dump packs as many small messages as could fit within an skb
that was sized for the largest single netdev information. The actual
space available within an skb is larger than what is requested. It could
be much larger and up to near 2x with align to next power of 2 approach.

Allowing netlink_dump to use all the space available within the
allocated skb increases the buffer size a user has to provide to avoid
truncaion (i.e. MSG_TRUNG flag set).

It was observed that with many VLANs configured on at least one netdev,
a larger buffer of near 64KiB was necessary to avoid "Message truncated"
error in "ip link" or "bridge [-c[ompressvlans]] vlan show" when
min_alloc_size was only little over 32KiB.

This patch trims skb to allocated size in order to allow the user to
avoid truncation with more reasonable buffer size.

Signed-off-by: Ronen Arad <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
ronenil authored and davem330 committed Oct 19, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit db65a3aaf29ecce2e34271d52e8d2336b97bd9fe
34 changes: 22 additions & 12 deletions net/netlink/af_netlink.c
Original file line number Diff line number Diff line change
@@ -2785,6 +2785,7 @@ static int netlink_dump(struct sock *sk)
struct sk_buff *skb = NULL;
struct nlmsghdr *nlh;
int len, err = -ENOBUFS;
int alloc_min_size;
int alloc_size;

mutex_lock(nlk->cb_mutex);
@@ -2793,9 +2794,6 @@ static int netlink_dump(struct sock *sk)
goto errout_skb;
}

cb = &nlk->cb;
alloc_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE);

if (!netlink_rx_is_mmaped(sk) &&
atomic_read(&sk->sk_rmem_alloc) >= sk->sk_rcvbuf)
goto errout_skb;
@@ -2805,23 +2803,35 @@ static int netlink_dump(struct sock *sk)
* to reduce number of system calls on dump operations, if user
* ever provided a big enough buffer.
*/
if (alloc_size < nlk->max_recvmsg_len) {
skb = netlink_alloc_skb(sk,
nlk->max_recvmsg_len,
nlk->portid,
cb = &nlk->cb;
alloc_min_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE);

if (alloc_min_size < nlk->max_recvmsg_len) {
alloc_size = nlk->max_recvmsg_len;
skb = netlink_alloc_skb(sk, alloc_size, nlk->portid,
GFP_KERNEL |
__GFP_NOWARN |
__GFP_NORETRY);
/* available room should be exact amount to avoid MSG_TRUNC */
if (skb)
skb_reserve(skb, skb_tailroom(skb) -
nlk->max_recvmsg_len);
}
if (!skb)
if (!skb) {
alloc_size = alloc_min_size;
skb = netlink_alloc_skb(sk, alloc_size, nlk->portid,
GFP_KERNEL);
}
if (!skb)
goto errout_skb;

/* Trim skb to allocated size. User is expected to provide buffer as
* large as max(min_dump_alloc, 16KiB (mac_recvmsg_len capped at
* netlink_recvmsg())). dump will pack as many smaller messages as
* could fit within the allocated skb. skb is typically allocated
* with larger space than required (could be as much as near 2x the
* requested size with align to next power of 2 approach). Allowing
* dump to use the excess space makes it difficult for a user to have a
* reasonable static buffer based on the expected largest dump of a
* single netdev. The outcome is MSG_TRUNC error.
*/
skb_reserve(skb, skb_tailroom(skb) - alloc_size);
netlink_skb_set_owner_r(skb, sk);

len = cb->dump(skb, cb);