[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1265881887.3988.4.camel@bigi>
Date: Thu, 11 Feb 2010 04:51:27 -0500
From: jamal <hadi@...erus.ca>
To: David Miller <davem@...emloft.net>,
Herbert Xu <herbert@...dor.apana.org.au>
Cc: netdev@...r.kernel.org
Subject: [PATCH]xfrm: Flushing empty SAD generates false events
To see the effect make sure you have an empty SAD.
-On window1 "ip xfrm mon"
-on window2 issue "ip xfrm state flush"
You get prompt back in window1
and you see the flush event on window2.
With this fix, you still get prompt on window1 but no
event on window2.
I was tempted to return -ESRCH on window1 (which would
show "RTNETLINK answers: No such process") but didnt want
to change current behavior.
cheers,
jamal
View attachment "SAD-flush-ev" of type "text/plain" (2314 bytes)
Powered by blists - more mailing lists