You can't OC either chip anyway.
Realistically, you probably won't have any problems given that they are the same socket though you may not see optimum performance on your 6400 as it MAY runn a bit warmer. Otherwise, in terms of just swapping CPUs, assuming the motherboards can handle them...