dccp: Preference list reconciliation
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 2 Dec 2008 07:31:04 +0000 (23:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Dec 2008 07:31:04 +0000 (23:31 -0800)
commit75757a7d0c54f8fdd414c74a6005d275032b0115
tree768c07adad4a6f42723acfeada434c045f36a489
parent8b7b6c75c6387527b195bb69100182288da94f84
dccp: Preference list reconciliation

This provides two functions to
 * reconcile preference lists (with appropriate return codes) and
 * reorder the preference list if successful reconciliation changed the
   preferred value.

The patch also removes the old code for processing SP/NN Change options, since
new code to process these is mostly there already; related references have been
commented out.

The code for processing Change options follows in the next patch.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/feat.c