~ubuntu-kernel/ubuntu/+source/linux/+git/bionic:master-current

Last commit made on 2019-10-01
Get this branch:
git clone -b master-current https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/bionic
Members of Ubuntu Kernel Repositories can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master-current
Repository:
lp:~ubuntu-kernel/ubuntu/+source/linux/+git/bionic

Recent commits

879d34c... by Khaled El Mously

UBUNTU: Ubuntu-4.15.0-66.75

Signed-off-by: Khalid Elmously <email address hidden>

1b2d428... by Khaled El Mously

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1846131
Properties: no-test-build
Signed-off-by: Khalid Elmously <email address hidden>

3aa4ec4... by Khaled El Mously

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Khalid Elmously <email address hidden>

e10e516... by Khaled El Mously

UBUNTU: [Packaging] update helper scripts

BugLink: http://bugs.launchpad.net/bugs/1786013
Signed-off-by: Khalid Elmously <email address hidden>

e1d81dc... by Sanjay Konduri <email address hidden>

rsi: add fix for crash during assertions

CVE-2018-21008

Observed crash in some scenarios when assertion has occurred,
this is because hw structure is freed and is tried to get
accessed in some functions where null check is already
present. So, avoided the crash by making the hw to NULL after
freeing.

Signed-off-by: Sanjay Konduri <email address hidden>
Signed-off-by: Sushant Kumar Mishra <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit abd39c6ded9db53aa44c2540092bdd5fb6590fa8)
Signed-off-by: Connor Kuehl <email address hidden>
Acked-by: Tyler Hicks <email address hidden>
Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

7ef825d... by Nicolas Dichtel

ipv6: fix neighbour resolution with raw socket

BugLink: https://bugs.launchpad.net/bugs/1834465

The scenario is the following: the user uses a raw socket to send an ipv6
packet, destinated to a not-connected network, and specify a connected nh.
Here is the corresponding python script to reproduce this scenario:

 import socket
 IPPROTO_RAW = 255
 send_s = socket.socket(socket.AF_INET6, socket.SOCK_RAW, IPPROTO_RAW)
 # scapy
 # p = IPv6(src='fd00:100::1', dst='fd00:200::fa')/ICMPv6EchoRequest()
 # str(p)
 req = b'`\x00\x00\x00\x00\x08:@\xfd\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xfd\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfa\x80\x00\x81\xc0\x00\x00\x00\x00'
 send_s.sendto(req, ('fd00:175::2', 0, 0, 0))

fd00:175::/64 is a connected route and fd00:200::fa is not a connected
host.

With this scenario, the kernel starts by sending a NS to resolve
fd00:175::2. When it receives the NA, it flushes its queue and try to send
the initial packet. But instead of sending it, it sends another NS to
resolve fd00:200::fa, which obvioulsy fails, thus the packet is dropped. If
the user sends again the packet, it now uses the right nh (fd00:175::2).

The problem is that ip6_dst_lookup_neigh() uses the rt6i_gateway, which is
:: because the associated route is a connected route, thus it uses the dst
addr of the packet. Let's use rt6_nexthop() to choose the right nh.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <email address hidden>
(backported from commit 2c6b55f45d53420d8310d41310e0e2cd41fe073f)
[nicolas.dichtel:
 The upstream patch was slightly modified because ip6_dst_lookup_neigh()
 does not exist in v4.15. It has been introduced in v4.18 by the upstream
 commit f8a1b43b709d ("net/ipv6: Create a neigh_lookup for FIB entries"). In
 fact, ip6_dst_lookup_neigh() just calls ip6_neigh_lookup().]
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

fdfc428... by Nicolas Dichtel

ipv6: constify rt6_nexthop()

BugLink: https://bugs.launchpad.net/bugs/1834465

There is no functional change in this patch, it only prepares the next one.

rt6_nexthop() will be used by ip6_dst_lookup_neigh(), which uses const
variables.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reported-by: kbuild test robot <email address hidden>
Acked-by: Nick Desaulniers <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(backported from commit 9b1c1ef13b35fa35051b635ca9fbda39fe6bbc70)
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

cae1ce6... by Marcelo Cerri

UBUNTU: SAUCE: selftests: net: replace AF_MAX with INT_MAX in socket.c

BugLink: https://bugs.launchpad.net/bugs/1842023

Use INT_MAX instead of AF_MAX, since libc might have a smaller value
of AF_MAX than the kernel, what causes the test to fail.

Signed-off-by: Marcelo Henrique Cerri <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

ad0b7b8... by Hui Wang

ALSA: hda - Define a fallback_pin_fixup_tbl for alc269 family

BugLink: https://bugs.launchpad.net/bugs/1842265

We have another Dell laptop which needs the DELL4_MIC_NO_PRESENCE,
and this laptop has different pincfg definitions from existing
ones in the pintbl, rather adding a new entry, let us define
a tbl in the fallback_pin_fixup_tbl and this tbl will match
all dell machines with alc289 codec and the pins of 0x19 and 0x1b
are undef by default.

Signed-off-by: Hui Wang <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(backported from commit 7c0a69394c265f2bb674c3f5daadfdd5c15ea0d1)
Signed-off-by: Hui Wang <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Connor Kuehl <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

31d7a6e... by Hui Wang

ALSA: hda - Expand pin_match function to match upcoming new tbls

BugLink: https://bugs.launchpad.net/bugs/1842265

With the existing pintbl, we already have many entries in it. it is
better to figure out a new way to reduce the size of the pintbl.

We plan to define a new tbl which will match more machines with a
single tbl, To do that, this function doesn't need to match all valid
pins between machine and tbl, it just needs to match all pins defined
in the tbl with the machine.

And the plan is to move some tbls from pin_fixup_tbl to
fallback_pin_fixup_tbl gradually.

Signed-off-by: Hui Wang <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(backported from commit 0fc1e447e9e474c2460df8d0378f899b8813e1d2)
Signed-off-by: Hui Wang <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Connor Kuehl <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>