Normally you get the following error
Error or warning message : Check /var/tmp is mounted as a filesystem WARNING /var/tmp should either be symlinked to /tmp or mounted as a filesystem.
In that case , you protect your /tmp in one step , by firing the following command :-
mount -t tmpfs -o noexec,nosuid tmpfs /var/tmp/
A reboot is not required in this case and it had worked without a reboot.
You may check it without rebooting.