From: Jamal Hadi Salim Date: Fri, 19 Feb 2010 02:00:40 +0000 (+0000) Subject: pfkey: fix SA and SP flush sequence X-Git-Tag: v2.6.34-rc1~233^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8be987d73481831265d7e8c648bec838271bfd9b;p=pandora-kernel.git pfkey: fix SA and SP flush sequence RFC 2367 says flushing behavior should be: 1) user space -> kernel: flush 2) kernel: flush 3) kernel -> user space: flush event to ALL listeners This is not realistic today in the presence of selinux policies which may reject the flush etc. So we make the sequence become: 1) user space -> kernel: flush 2) kernel: flush 3) kernel -> user space: flush response to originater from #1 4) if there were no errors then: kernel -> user space: flush event to ALL listeners Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- Reading git-diff-tree failed