diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2010-02-19 03:00:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-19 22:11:49 +0100 |
commit | 8be987d73481831265d7e8c648bec838271bfd9b (patch) | |
tree | d06242ca463d87e3840090959c695d9c1a151799 /net/802 | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/... (diff) | |
download | linux-8be987d73481831265d7e8c648bec838271bfd9b.tar.xz linux-8be987d73481831265d7e8c648bec838271bfd9b.zip |
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 <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions