Commit Graph

637937 Commits

Author SHA1 Message Date
Joel Scherpelz
d860b2e8a7 FROMLIST: net: ipv6: Add sysctl for minimum prefix len acceptable in RIOs
This commit adds a new sysctl accept_ra_rt_info_min_plen that
defines the minimum acceptable prefix length of Route Information
Options. The new sysctl is intended to be used together with
accept_ra_rt_info_max_plen to configure a range of acceptable
prefix lengths. It is useful to prevent misconfigurations from
unintentionally blackholing too much of the IPv6 address space
(e.g., home routers announcing RIOs for fc00::/7, which is
incorrect).

[backport of net-next bbea124bc9]
Bug: 33333670
Test: net_test passes

Signed-off-by: Joel Scherpelz <jscherpelz@google.com>
Acked-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-27 04:03:56 +00:00
Daniel Rosenberg
2cedf8b9e9 ANDROID: sdcardfs: Fix style issues in macros
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: I89c4035029dc2236081a7685c55cac595d9e7ebf
2017-03-23 21:27:49 -07:00
Daniel Rosenberg
6ae39e814c ANDROID: sdcardfs: Use seq_puts over seq_printf
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: I3795ec61ce61e324738815b1ce3b0e09b25d723f
2017-03-23 21:26:34 -07:00
Daniel Rosenberg
3c42d40f4d ANDROID: sdcardfs: Use to kstrout
Switch from deprecated simple_strtoul to kstrout

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: If18bd133b4d2877f71e58b58fc31371ff6613ed5
2017-03-23 21:26:33 -07:00
Daniel Rosenberg
77ecf2138d ANDROID: sdcardfs: Use pr_[...] instead of printk
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: Ibc635ec865750530d32b87067779f681fe58a003
2017-03-23 21:26:31 -07:00
Daniel Rosenberg
b6704a8ad0 ANDROID: sdcardfs: remove unneeded null check
As pointed out by checkpatch, these functions already
handle null inputs, so the checks are not needed.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: I189342f032dfcefee36b27648bb512488ad61d20
2017-03-23 21:24:47 -07:00
Daniel Rosenberg
d64126cdcc ANDROID: sdcardfs: Fix style issues with comments
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: I8791ef7eac527645ecb9407908e7e5ece35b8f80
2017-03-23 21:24:47 -07:00
Daniel Rosenberg
5e024f6aa8 ANDROID: sdcardfs: Fix formatting
This fixes various spacing and bracket related issues
pointed out by checkpatch.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: I6e248833a7a04e3899f3ae9462d765cfcaa70c96
2017-03-23 21:24:43 -07:00
Daniel Rosenberg
9608a4aa5f ANDROID: sdcardfs: correct order of descriptors
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35331000
Change-Id: Ia6d16b19c8c911f41231d2a12be0740057edfacf
2017-03-23 21:21:02 -07:00
Chenbo Feng
64157f4cbe ANDROID: fix the deadlock in xt_qtaguid when enable DDEBUG
When DDEBUG is enabled, the prdebug_full_state() function will try to
recursively aquire the spinlock of sock_tag_list and causing deadlock. A
check statement is added before it aquire the spinlock to differentiate
the behavior depend on the caller of the function.

Bug: 36559739
Test: Compile and run test under system/extra/test/iptables/
Change-Id: Ie3397fbaa207e14fe214d47aaf5e8ca1f4a712ee
Signed-off-by: Chenbo Feng <fengc@google.com>
(cherry picked from commit f0faedd6b4)
2017-03-24 00:10:18 +00:00
Greg Kroah-Hartman
82ab074469 Linux 4.9.17
am: c3825da143

Change-Id: I9bb016c4b63b84ebb295fead30261ba7ad266b23
2017-03-22 12:09:42 +00:00
Daniel Axtens
7a67ed8dbb crypto: powerpc - Fix initialisation of crc32c context
am: ecdc5b12d7

Change-Id: I65ed50a7326dc80e9cf27715b381b0f0a10f3d04
2017-03-22 12:09:33 +00:00
Niklas Cassel
7298964b46 locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y
am: c406096522

Change-Id: I2ac74fa5f03a3dff0b45e91d8be4e80c9c70da98
2017-03-22 12:09:25 +00:00
Peter Zijlstra
7135bd3da3 futex: Add missing error handling to FUTEX_REQUEUE_PI
am: 1522181f4b

Change-Id: I74d73e5550ccb3a8d846f636b4f7940b124d261c
2017-03-22 12:09:16 +00:00
Peter Zijlstra
11a359f58e futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
am: 6244ffc5a1

Change-Id: I973ed47c736e8deeebcea67e885abfb557fc1469
2017-03-22 12:09:06 +00:00
Andy Lutomirski
7f9385eba7 x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
am: 9f9115b67a

Change-Id: Iba2e68a6123db4af16b8adc652405f8b4255b393
2017-03-22 12:08:57 +00:00
Andrey Ryabinin
1aca86378d x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
am: 24ba2842a4

Change-Id: Ice61360ad131e124ba97e52e456a79b9cb02d350
2017-03-22 12:08:49 +00:00
Peter Zijlstra
722bffc98f x86/tsc: Fix ART for TSC_KNOWN_FREQ
am: 5ec98e6ffd

Change-Id: If24320eee8137c3b7b833822d095c69d077cf781
2017-03-22 12:08:40 +00:00
Shanker Donthineni
30e8dd46c4 irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065
am: 095635be80

Change-Id: Ie5b9efb5d4cd40e28a7d53769e46ad4abc28d0d2
2017-03-22 12:08:30 +00:00
Marc Zyngier
6b819b51b5 arm64: KVM: VHE: Clear HCR_TGE when invalidating guest TLBs
am: 61e79860b4

Change-Id: I317dff9396f05487535bc6b42b7af5140273ca0f
2017-03-22 12:08:21 +00:00
Boris Brezillon
ae2a3866ce drm/vc4: Fix ->clock_select setting for the VEC encoder
am: 8ca7ef0d9a

Change-Id: I11e94c3a1ac3610088136cbad677e087403d0ca1
2017-03-22 12:08:12 +00:00
Derek Foreman
0d20f9b53d drm/vc4: Fix race between page flip completion event and clean-up
am: 6b33067067

Change-Id: I53bcd8f204316dc5a99512c67e156e10788b93cd
2017-03-22 12:08:03 +00:00
Boris Brezillon
33b47622be clk: bcm2835: Fix ->fixed_divider of pllh_aux
am: f4d40cfd61

Change-Id: I6e31e09228064161488ac15ff1ed787b19c1d757
2017-03-22 12:07:54 +00:00
Michael Ellerman
cfe5688c6b powerpc/mm: Fix build break when CMA=n && SPAPR_TCE_IOMMU=y
am: 7885195b91

Change-Id: If18525e5d63c85ccfe1e56b505cde58a14f77c1e
2017-03-22 12:07:45 +00:00
Alexandre Belloni
9def7fa9f2 usb: gadget: udc: atmel: remove memory leak
am: ce7aeffe75

Change-Id: I2ae806ad7a6c0b110d7b57a371fab003fd6ad480
2017-03-22 12:07:36 +00:00
Gabriel Krisman Bertazi
50314d9022 serial: 8250_pci: Detach low-level driver during PCI error recovery
am: 4fa1c65cf0

Change-Id: Iaa90075090ace1338995c9163f277818ade70c91
2017-03-22 12:07:27 +00:00
Michael Pobega
d8e9999238 ACPI / blacklist: Make Dell Latitude 3350 ethernet work
am: 56c28e7983

Change-Id: I1668d3f0b9e9cb1d09d31069db57b11bdbaa18fc
2017-03-22 12:07:19 +00:00
Alex Hung
9d6617db01 ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
am: 5c19e9070d

Change-Id: I21d081507cf3305104287881c016efa73ec0698c
2017-03-22 12:07:10 +00:00
Vladimir Davydov
997e3d93e3 slub: move synchronize_sched out of slab_mutex on shrink
am: bc01eb9398

Change-Id: Ie8b2378edb57e2a7401bd766a5b782d8a5bb9eab
2017-03-22 12:07:01 +00:00
Henrik Ingo
dc68ed0a8b uvcvideo: uvc_scan_fallback() for webcams with broken chain
am: bd2de45031

Change-Id: I6001d78b5780026b1ec00c934f0a0e66c98d756c
2017-03-22 12:06:53 +00:00
Harald Freudenberger
92561362da s390/zcrypt: Introduce CEX6 toleration
am: e627116c0c

Change-Id: I0e31c2426d6c5909e7427871234d594994c4c7c0
2017-03-22 12:06:44 +00:00
Mauricio Faria de Oliveira
17992f15bd block: allow WRITE_SAME commands with the SG_IO ioctl
am: 61a153d06e

Change-Id: If120b5ff61d9a89f43810dd2adfb03ffc7d0de19
2017-03-22 12:06:36 +00:00
Ben Skeggs
9d3ae38069 drm/nouveau/disp/nv50-: specify ctrl/user separately when constructing classes
am: 0042afe117

Change-Id: Iba38972b02698d32e79dccd40c4a689540f0e9fa
2017-03-22 12:06:27 +00:00
Ben Skeggs
0480f8c177 drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user
am: 5001756c1c

Change-Id: I8426d8a334719b5ad2509ab4d35bdd1a0612557a
2017-03-22 12:06:18 +00:00
Ben Skeggs
e8311e8c37 drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices
am: ddc23b5212

Change-Id: I086b28357325d7c5a46acab063a449a8ab569c74
2017-03-22 12:06:09 +00:00
Alexey Kardashevskiy
cf0a297730 vfio/spapr: Postpone default window creation
am: 53e18968a9

Change-Id: Idda515f48e1d6d602408f5826c0c232829e5863f
2017-03-22 12:06:00 +00:00
Alexey Kardashevskiy
dc1dcd8f3a vfio/spapr: Add a helper to create default DMA window
am: 2e60baca23

Change-Id: Id62aa2ffddec9a3c77ae2f3982a4cda107406f57
2017-03-22 12:05:50 +00:00
Alexey Kardashevskiy
a5144199a4 powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown
am: 080eb13542

Change-Id: I1a3a2934ed58ec8482df47ef775832dab05a3923
2017-03-22 12:05:41 +00:00
Alexey Kardashevskiy
c29d593dd2 vfio/spapr: Reference mm in tce_container
am: 92e44bcd71

Change-Id: Icd3e692363d9b025578a30ac0a3691cf20584697
2017-03-22 12:05:32 +00:00
Alexey Kardashevskiy
7245b61abc powerpc/iommu: Stop using @current in mm_iommu_xxx
am: 5b34666bd2

Change-Id: I927639c52e6a865d1ad8460bee09167bff672ff6
2017-03-22 12:05:24 +00:00
Alexey Kardashevskiy
89e70bafd9 powerpc/iommu: Pass mm_struct to init/cleanup helpers
am: 2ba7ef2182

Change-Id: I1293f1efb792d15b10867749e63fcd3810fddfda
2017-03-22 12:05:14 +00:00
Alexey Kardashevskiy
2c4dda6373 vfio/spapr: Postpone allocation of userspace version of TCE table
am: 5d8b3e7559

Change-Id: Idf49bd8447519d6c29619aa2bd81b1cfc6001712
2017-03-22 12:05:06 +00:00
Vitaly Kuznetsov
9ba5b007e2 Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)
am: 3c0cbb47a8

Change-Id: Iae168bc46653d2cf8b5ccf8827147741f16ba5c0
2017-03-22 12:04:58 +00:00
Thomas Falcon
f7be60c441 ibmveth: calculate gso_segs for large packets
am: 3e5a7f5b95

Change-Id: I0734680b85e04e7a4a6946b2c5121752d5ea46c4
2017-03-22 12:04:49 +00:00
Gavin Shan
f972b43107 PCI: Do any VF BAR updates before enabling the BARs
am: fb7c521a14

Change-Id: I7f266b16accaca8f7436c00d7daba3e42c578b7d
2017-03-22 12:04:40 +00:00
Bjorn Helgaas
2ce0fb5f8a PCI: Ignore BAR updates on virtual functions
am: 3d58444dea

Change-Id: I6f1b40d9a2a0cc24819139bdf71a4d0a5bbd8438
2017-03-22 12:04:32 +00:00
Bjorn Helgaas
bbacfa3b10 PCI: Update BARs using property bits appropriate for type
am: 74cce811a4

Change-Id: I1b505a1274fa2f9f30018d3b647ead37e6aa35cc
2017-03-22 12:04:23 +00:00
Bjorn Helgaas
6032b6da3c PCI: Don't update VF BARs while VF memory space is enabled
am: a38012dc69

Change-Id: I25cc45767c1b20c826e51c574ab8240b2420a092
2017-03-22 12:04:14 +00:00
Bjorn Helgaas
f913f6d777 PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
am: bb479246bb

Change-Id: I4612f22ab9d199fcd9756a9d70509c47c1d895fe
2017-03-22 12:04:05 +00:00
Bjorn Helgaas
a61960be8f PCI: Add comments about ROM BAR updating
am: ed09d211d2

Change-Id: Iae23b831f73c34eb45369b026006fb7f051549e1
2017-03-22 12:03:56 +00:00