OSDN Git Service

Merge branch 'mptcp-fix-sockopt-crash-and-lockdep-splats'
authorDavid S. Miller <davem@davemloft.net>
Wed, 29 Jan 2020 16:45:20 +0000 (17:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jan 2020 16:46:46 +0000 (17:46 +0100)
commitd55c6ab4b368633f39f8fe059f3b877f978cfb4c
tree50fc4f81068aa6bb1298d0db0d974571b85a9295
parent44efc78d0e464ce70b45b165c005f8bedc17952e
parentae2dd7164943e03644293af92802550d052632e6
Merge branch 'mptcp-fix-sockopt-crash-and-lockdep-splats'

Florian Westphal says:

====================
mptcp: fix sockopt crash and lockdep splats

Christoph Paasch reported a few bugs and lockdep splats triggered by
syzkaller.

One patch fixes a crash in set/getsockopt.
Two patches fix lockdep splats related to the order in which RTNL
and socket lock are taken.

Last patch fixes out-of-bounds access when TCP syncookies are used.

Change since last iteration on mptcp-list:
 - add needed refcount in patch 2
 - call tcp_get/setsockopt directly in patch 2

 Other patches unchanged except minor amends to commit messages.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>