mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PFKEY]: Sending an SADB_GET responds with an SADB_GET
From: Charles Hardin <[email protected]> Kernel needs to respond to an SADB_GET with the same message type to conform to the RFC 2367 Section 3.1.5 Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
8c92e6b0bf
commit
435000bebd
1 changed files with 1 additions and 1 deletions
|
|
@ -1552,7 +1552,7 @@ static int pfkey_get(struct sock *sk, struct sk_buff *skb, struct sadb_msg *hdr,
|
|||
|
||||
out_hdr = (struct sadb_msg *) out_skb->data;
|
||||
out_hdr->sadb_msg_version = hdr->sadb_msg_version;
|
||||
out_hdr->sadb_msg_type = SADB_DUMP;
|
||||
out_hdr->sadb_msg_type = SADB_GET;
|
||||
out_hdr->sadb_msg_satype = pfkey_proto2satype(proto);
|
||||
out_hdr->sadb_msg_errno = 0;
|
||||
out_hdr->sadb_msg_reserved = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue