I never opined about legality on this one, and don't think it is illegal, and don't think SCOTUS will find it illegal, or for that matter any circuit court, except a rogue one. Courts really do tend to take a low profile when real body counts are at stake in conflicts. They just do.
Just a fyi kinda thing. Took me a while to find something concrete in a court holding.