]> git.baikalelectronics.ru Git - kernel.git/commit
[XFRM]: Fix aevent timer.
authorJamal Hadi Salim <hadi@cyberus.ca>
Fri, 14 Apr 2006 22:03:05 +0000 (15:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Apr 2006 22:03:05 +0000 (15:03 -0700)
commitadc7d4b6f3d56743d8ff360e3d3c298cf03de716
tree9282ac7ffd15bbd41f438201ef76f6deaa23c90a
parente673592b72aa7fec4b2353bfedd8c64fa985d6f4
[XFRM]: Fix aevent timer.

Send aevent immediately if we have sent nothing since last timer and
this is the first packet.

Fixes a corner case when packet threshold is very high, the timer low
and a very low packet rate input which is bursty.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/xfrm/xfrm_state.c