]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Validate the net address given to rxrpc_kernel_begin_call()
authorDavid Howells <dhowells@redhat.com>
Fri, 17 Jun 2016 10:00:48 +0000 (11:00 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 22 Jun 2016 08:17:51 +0000 (09:17 +0100)
commit39e73727a1c89d7dd3b59a770c4b1b3c2dde9dfb
tree2236af71df6ff792ac2d2ffd9f483ffcfd5c3c18
parent652d877290e2104e8173753a65cc67de516739d0
rxrpc: Validate the net address given to rxrpc_kernel_begin_call()

Validate the net address given to rxrpc_kernel_begin_call() before using
it.

Whilst this should be mostly unnecessary for in-kernel users, it does clear
the tail of the address struct in case we want to hash or compare the whole
thing.

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