OFPacketIn.getInputPort() related problem fixed.