]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/dccp/options.c
[DCCP]: Ignore feature negotiation on Data packets
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 13 Dec 2007 14:48:19 +0000 (12:48 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:54 +0000 (14:57 -0800)
commitcf86314cb7460423b0b7e611edad80a52dc90d10
tree19c9389017f08828f2bcbbf1652904fa64aa8e84
parent5cdae198de33184c01226395b840f44f9834233a
[DCCP]: Ignore feature negotiation on Data packets

This implements [RFC 4340, p. 32]: "any feature negotiation options received
on DCCP-Data packets MUST be ignored".

Also added a FIXME for further processing, since the code currently (wrongly)
classifies empty Confirm options as invalid - this needs to be resolved in
a separate patch.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/options.c