]> git.baikalelectronics.ru Git - kernel.git/commit
[XFRM]: Display the audited SPI value in host byte order.
authorPaul Moore <paul.moore@hp.com>
Wed, 12 Dec 2007 19:10:16 +0000 (11:10 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 14 Dec 2007 21:54:35 +0000 (13:54 -0800)
commit1723d9e6da079451c644f2a9e80832fc04231440
tree111c1cd3b765d06fd42325b1904a2289297142a8
parent266147e4fb0c709f53dd8b710aaa103af54c4a55
[XFRM]: Display the audited SPI value in host byte order.

Currently the IPsec protocol SPI values are written to the audit log in
network byte order which is different from almost all other values which
are recorded in host byte order.  This patch corrects this inconsistency
by writing the SPI values to the audit record in host byte order.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c