]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Be more selective about the types of received packets we accept
authorDavid Howells <dhowells@redhat.com>
Fri, 4 Mar 2016 15:56:06 +0000 (15:56 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 4 Mar 2016 15:56:06 +0000 (15:56 +0000)
commit2c6666c099bbc3c79d3c5420ff504ac7726a7261
tree483d1630ed4dc47d80ed77bcd266eac81dea1ce2
parent1d835fce00c75e10ddfa8ca8bcaa88b1f23b897f
rxrpc: Be more selective about the types of received packets we accept

Currently, received RxRPC packets outside the range 1-13 are rejected.
There are, however, holes in the range that should also be rejected - plus
at least one type we don't yet support - so reject these also.

Signed-off-by: David Howells <dhowells@redhat.com>
include/rxrpc/packet.h
net/rxrpc/ar-input.c