diff options
author | Xin Long <lucien.xin@gmail.com> | 2016-02-03 23:33:30 +0800 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-03-04 10:25:49 -0500 |
commit | bb6f76ba4c6b29e4650310982dc61639d34fa833 (patch) | |
tree | 213a33748a4d1b01898c0391815935b720ea7da2 /fs/jbd/commit.c | |
parent | beb9881442593e9de581bf7d5396788cfedcdbd3 (diff) |
sctp: translate network order to host order when users get a hmacid
[ Upstream commit 7a84bd46647ff181eb2659fdc99590e6f16e501d ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions