xfrm: add XFRMA_REPLAY_VAL attribute to SA messages
authordingzhi <zhi.ding@6wind.com>
Thu, 30 Oct 2014 08:39:36 +0000 (09:39 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 3 Nov 2014 07:54:52 +0000 (08:54 +0100)
commitf293a5e33e084ef84b802e3002e5fe3eef086171
treef5d114479686c77b160774b348454513871c16f1
parent5c1e9f2c1ff7ed91c03906e0bf1d7fbbddae3970
xfrm: add XFRMA_REPLAY_VAL attribute to SA messages

After this commit, the attribute XFRMA_REPLAY_VAL is added when no ESN replay
value is defined. Thus sequence number values are always notified to userspace.

Signed-off-by: dingzhi <zhi.ding@6wind.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_user.c