summaryrefslogtreecommitdiffstats
path: root/security/selinux/nlmsgtab.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-02-03 23:33:30 +0800
committerDavid S. Miller <davem@davemloft.net>2016-02-09 04:53:16 -0500
commit7a84bd46647ff181eb2659fdc99590e6f16e501d (patch)
treede102ab893fa2f1714836691658e0735bd27c115 /security/selinux/nlmsgtab.c
parentca7f41a4957b872577807169bd7464b36aae9b9c (diff)
downloadop-kernel-dev-7a84bd46647ff181eb2659fdc99590e6f16e501d.zip
op-kernel-dev-7a84bd46647ff181eb2659fdc99590e6f16e501d.tar.gz
sctp: translate network order to host order when users get a hmacid
Commit ed5a377d87dc ("sctp: translate host order to network order when setting a hmacid") corrected the hmacid byte-order when setting a hmacid. but the same issue also exists on getting a hmacid. We fix it by changing hmacids to host order when users get them with getsockopt. Fixes: Commit ed5a377d87dc ("sctp: translate host order to network order when setting a hmacid") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux/nlmsgtab.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud