In general, it seems that knitting needles are usually okay when you travel. Just be careful not to brandish them like weapons (not that you would), keep them safely stowed in your carry on bag, and maybe tuck an extra set of DPNs in with your pencils, just in case.