Let the name reflect the single use. The function now assumes the GSS MIC is the last object in the buffer.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -186,7 +186,7 @@ xdr_adjust_iovec(struct kvec *iov, __be32 *p) · 185 unmodified lines | |||
| 186 | extern void xdr_shift_buf(struct xdr_buf *, size_t); | 186 | extern void xdr_shift_buf(struct xdr_buf *, size_t); |
| 187 | extern void xdr_buf_from_iov(struct kvec *, struct xdr_buf *); | 187 | extern void xdr_buf_from_iov(struct kvec *, struct xdr_buf *); |
| 188 | extern int xdr_buf_subsegment(struct xdr_buf *, struct xdr_buf *, unsigned int, unsigned int); | 188 | extern int xdr_buf_subsegment(struct xdr_buf *, struct xdr_buf *, unsigned int, unsigned int); |
| 189 | extern int xdr_buf_read_netobj(struct xdr_buf *, struct xdr_netobj *, unsigned int); | 189 | extern int xdr_buf_read_mic(struct xdr_buf *, struct xdr_netobj *, unsigned int); |
| 190 | extern int read_bytes_from_xdr_buf(struct xdr_buf *, unsigned int, void *, unsigned int); | 190 | extern int read_bytes_from_xdr_buf(struct xdr_buf *, unsigned int, void *, unsigned int); |
| 191 | extern int write_bytes_to_xdr_buf(struct xdr_buf *, unsigned int, void *, unsigned int); | 191 | extern int write_bytes_to_xdr_buf(struct xdr_buf *, unsigned int, void *, unsigned int); |
| 192 | 192 | ||