[IPSEC]: Fix scatterlist handling in skb_icv_walk().
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 26 Oct 2007 07:39:27 +0000 (00:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 26 Oct 2007 07:39:27 +0000 (00:39 -0700)
commit0e0940d4bb9b19c0a45c844a83e1d25686aaf433
tree1644f6c36efe10a6e90f5e395d80564f8a9ba860
parented0e7e0ca370519d6f79d1093ee2890d4cdee744
[IPSEC]: Fix scatterlist handling in skb_icv_walk().

Use sg_init_one() and sg_init_table() as needed.

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