diff options
-rw-r--r-- | net/key/af_key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c index 9ef79851f297..d5a4a796f025 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c | |||
@@ -2694,6 +2694,7 @@ static int key_notify_policy_flush(const struct km_event *c) | |||
2694 | hdr->sadb_msg_pid = c->portid; | 2694 | hdr->sadb_msg_pid = c->portid; |
2695 | hdr->sadb_msg_version = PF_KEY_V2; | 2695 | hdr->sadb_msg_version = PF_KEY_V2; |
2696 | hdr->sadb_msg_errno = (uint8_t) 0; | 2696 | hdr->sadb_msg_errno = (uint8_t) 0; |
2697 | hdr->sadb_msg_satype = SADB_SATYPE_UNSPEC; | ||
2697 | hdr->sadb_msg_len = (sizeof(struct sadb_msg) / sizeof(uint64_t)); | 2698 | hdr->sadb_msg_len = (sizeof(struct sadb_msg) / sizeof(uint64_t)); |
2698 | pfkey_broadcast(skb_out, GFP_ATOMIC, BROADCAST_ALL, NULL, c->net); | 2699 | pfkey_broadcast(skb_out, GFP_ATOMIC, BROADCAST_ALL, NULL, c->net); |
2699 | return 0; | 2700 | return 0; |