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)
commit351c1e648623b742fe1687636117306adc8b561c
tree483d1630ed4dc47d80ed77bcd266eac81dea1ce2
parentee6fe085a992d40d2b5d3e7e2b9e0eec1cdacaac
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