[IPSEC] af_key: Fix thinko in pfkey_xfrm_policy2msg()
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 18 Apr 2007 04:48:10 +0000 (21:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 18 Apr 2007 21:16:07 +0000 (14:16 -0700)
commitfefaa75e0451c76225863644be01e4fd70884153
tree685d90c0d228505ba7a9188eb82c6ed6949b3b86
parent80d74d5123bf3aecd32302809c4e61bb8a16786b
[IPSEC] af_key: Fix thinko in pfkey_xfrm_policy2msg()

Make sure to actually assign the determined mode to
rq->sadb_x_ipsecrequest_mode.

Noticed by Joe Perches.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/key/af_key.c