]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gss_krb5: document that we ignore sequence number
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 9 Oct 2013 19:59:29 +0000 (15:59 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Oct 2013 15:04:48 +0000 (11:04 -0400)
commit5d6baef9ab52d0d02b3106d8ccd1b05ec628e027
treee983e2d40f2e1db8aaa04902d26208eb259a79d6
parentb26ec9b11b309acd9f6bb15fcc9bb396091384e8
gss_krb5: document that we ignore sequence number

A couple times recently somebody has noticed that we're ignoring a
sequence number here and wondered whether there's a bug.

In fact, there's not.  Thanks to Andy Adamson for pointing out a useful
explanation in rfc 2203.  Add comments citing that rfc, and remove
"seqnum" to prevent static checkers complaining about unused variables.

Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/auth_gss/gss_krb5_unseal.c
net/sunrpc/auth_gss/gss_krb5_wrap.c