We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18e940 commit f8fdadeCopy full SHA for f8fdade
net/ipv4/esp4.c
@@ -97,17 +97,15 @@ static inline struct scatterlist *esp_req_sg(struct crypto_aead *aead,
97
98
static void esp_ssg_unref(struct xfrm_state *x, void *tmp)
99
{
100
- struct esp_output_extra *extra = esp_tmp_extra(tmp);
101
struct crypto_aead *aead = x->data;
102
int extralen = 0;
103
u8 *iv;
104
struct aead_request *req;
105
struct scatterlist *sg;
106
107
if (x->props.flags & XFRM_STATE_ESN)
108
- extralen += sizeof(*extra);
+ extralen += sizeof(struct esp_output_extra);
109
110
- extra = esp_tmp_extra(tmp);
111
iv = esp_tmp_iv(aead, tmp, extralen);
112
req = esp_tmp_req(aead, iv);
113
0 commit comments