]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Check the source of a packet to a client conn
authorDavid Howells <dhowells@redhat.com>
Thu, 30 Jun 2016 10:34:30 +0000 (11:34 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 6 Jul 2016 09:43:05 +0000 (10:43 +0100)
commit36164f67c8bd65a1a86489cf69fbe8c6b6af5364
treea8189f012e18787c8e375b095d110dfaa1b26800
parent8e703f34de9017e2f369c8c56348eee0c49e9cbc
rxrpc: Check the source of a packet to a client conn

When looking up a client connection to which to route a packet, we need to
check that the packet came from the correct source so that a peer can't try
to muck around with another peer's connection.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/conn_object.c