]> git.baikalelectronics.ru Git - kernel.git/commit
dccp: Process incoming Change feature-negotiation options
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 2 Dec 2008 07:32:35 +0000 (23:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Dec 2008 07:32:35 +0000 (23:32 -0800)
commite29239f384fb5588bfc7bbaf4311e7f12aa57fdc
tree9fdef240be3aeb49c012fd00d41f9ee90afe776c
parent2d6b1fe5440f90d5a0a59b4155bd341215ce90ea
dccp: Process incoming Change feature-negotiation options

This adds/replaces code for processing incoming ChangeL/R options.
The main difference is that:
 * mandatory FN options are now interpreted inside the function
  (there are too many individual cases to do this externally);
 * the function returns an appropriate Reset code or 0,
   which is then used to fill in the data for the Reset packet.

Old code, which is no longer used or referenced, has been removed.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/feat.c
net/dccp/feat.h
net/dccp/options.c