|
@@ -1152,6 +1152,8 @@ static int xfrm_notify_sa_flush(struct km_event *c)
|
|
|
|
|
|
nlh->nlmsg_len = skb->tail - b;
|
|
|
|
|
|
+ NETLINK_CB(skb).dst_groups = XFRMGRP_SA;
|
|
|
+
|
|
|
return netlink_broadcast(xfrm_nl, skb, 0, XFRMGRP_SA, GFP_ATOMIC);
|
|
|
|
|
|
nlmsg_failure:
|
|
@@ -1226,6 +1228,8 @@ static int xfrm_notify_sa(struct xfrm_state *x, struct km_event *c)
|
|
|
|
|
|
nlh->nlmsg_len = skb->tail - b;
|
|
|
|
|
|
+ NETLINK_CB(skb).dst_groups = XFRMGRP_SA;
|
|
|
+
|
|
|
return netlink_broadcast(xfrm_nl, skb, 0, XFRMGRP_SA, GFP_ATOMIC);
|
|
|
|
|
|
nlmsg_failure:
|
|
@@ -1455,6 +1459,8 @@ static int xfrm_notify_policy(struct xfrm_policy *xp, int dir, struct km_event *
|
|
|
|
|
|
nlh->nlmsg_len = skb->tail - b;
|
|
|
|
|
|
+ NETLINK_CB(skb).dst_groups = XFRMGRP_POLICY;
|
|
|
+
|
|
|
return netlink_broadcast(xfrm_nl, skb, 0, XFRMGRP_POLICY, GFP_ATOMIC);
|
|
|
|
|
|
nlmsg_failure:
|
|
@@ -1480,6 +1486,8 @@ static int xfrm_notify_policy_flush(struct km_event *c)
|
|
|
|
|
|
nlh->nlmsg_len = skb->tail - b;
|
|
|
|
|
|
+ NETLINK_CB(skb).dst_groups = XFRMGRP_POLICY;
|
|
|
+
|
|
|
return netlink_broadcast(xfrm_nl, skb, 0, XFRMGRP_POLICY, GFP_ATOMIC);
|
|
|
|
|
|
nlmsg_failure:
|