Revert "ANDROID: net: xfrm: check dir value of xfrm_userpolicy_id"
authorNathan Chancellor <natechancellor@gmail.com>
Fri, 1 Jun 2018 20:57:27 +0000 (13:57 -0700)
committerNathan Chancellor <natechancellor@gmail.com>
Sat, 2 Jun 2018 02:08:09 +0000 (19:08 -0700)
commitbd5b366a50e8c9d0b6ea69ff0c585512fe8cb40d
tree980ddf73ad40261ac974ecaa7f39a17f14d61aae
parent1c44ecfe6db247978e0f69c900af3d74c23d6b40
Revert "ANDROID: net: xfrm: check dir value of xfrm_userpolicy_id"

This is fixed in a much cleaner way in 7bab09631c2a ("xfrm: policy:
check policy direction value"). There is no point to having all of
these extra checks when the one will do.

This reverts commit 33f17703cceb1258958fb2049fc0b18b6cc8dea6.

Bug: 64257838
Change-Id: I9c5862cdf1da9934144d1f785de6d2c3e69d0dd7
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
net/xfrm/xfrm_user.c